// Types for ./videoAssistOps.mjs (release 38 lane E): the video assistant's checked ops. export type AssistOpName = "look" | "slide" | "room" | "clip_edges" | "clip_room" | "fx"; export type AssistScope = "look" | "clips" | "fx" | "all"; export type AssistOp = { op: AssistOpName } & Record; /** How a kept op is performed: the look's writer, the clip editor's, or the composition's. */ export type AssistApply = | { writer: "render"; patch: Record } | { writer: "clip"; body: { op: "trim"; clip: string; cutStart: number; cutEnd: number } | { op: "room"; clip: string; room: false | { tail?: boolean; head?: boolean } | null } } | { writer: "chrome"; id: string; param: string; value: unknown }; export type CheckedAssistOp = { op: AssistOp; diff: string; apply: AssistApply; warning?: string }; export type RefusedAssistOp = { index: number; op: unknown; why: string }; export const ASSIST_OP_NAMES: readonly AssistOpName[]; export const ASSIST_SCOPES: readonly AssistScope[]; export const EDGE_SLACK_SECONDS: number; export const MIN_CUT_SECONDS: number; export function secondsNamedIn(request: string): number; export function lookWords(key: string, value: unknown, render?: Record): string; export function clipWindow( entry: Record, render?: Record, ): { cut: { start: number; end: number }; window: { start: number; end: number }; hasCut: boolean }; export function checkAssistOps( manifest: unknown, ops: readonly unknown[], o?: { request?: string; scope?: string }, ): { ops: CheckedAssistOp[]; refused: RefusedAssistOp[]; diff: string[]; manifest: Record }; export function assistView(manifest: unknown, o?: { maxChars?: number; request?: string; scope?: string }): { text: string; clips: { shown: string[]; short: string[] } }; export const ASSIST_OPS_TEXT: string; export function normalizeAssistOp(raw: unknown): unknown; export const ASSIST_OPS_SCHEMA: Readonly>;