// Types for ./videoAssistProposals.mjs (release 38 lane E): `/assist-proposals.json`. import type { AssistOp, CheckedAssistOp, RefusedAssistOp } from "./videoAssistOps.mjs"; export type AssistOpStatus = "proposed" | "applied" | "dismissed" | "failed"; export type ProposedOp = { id: string; op: AssistOp; diff: string; warning?: string; status: AssistOpStatus; at?: string; error?: string }; export type AssistProposals = { version: 1; promptVersion: string; at: string; model: string; request: string; scope: string; note?: string; reply?: string; ops: ProposedOp[]; refused: { op: unknown; why: string }[]; diff: string[]; }; export const ASSIST_PROPOSALS_NAME: string; export const ASSIST_PROMPT_VERSION: string; export const ASSIST_OP_STATUSES: readonly AssistOpStatus[]; export function proposalsDocOf(o: { at: string; model: string; request: string; scope?: string; note?: string | null; reply?: string | null; checked: { ops: CheckedAssistOp[]; refused: RefusedAssistOp[] }; }): AssistProposals; export function proposalsErrors(doc: unknown): string[]; export function readAssistProposals(dir: string): Promise<{ doc: AssistProposals | null; error: string | null }>; export function writeAssistProposals(dir: string, doc: AssistProposals): Promise; export function markProposals(doc: AssistProposals, marks: Record, at: string): AssistProposals;