import { AssetKind, CommandReceipt, CompositionSnapshot, DemoRun } from "./contracts.js"; //#region src/ai-editor/compositionStore.d.ts interface CompositionStore { readonly path: string; command(input: { operationId: string; digest: string; snapshotId: string; actor: "operator" | "agent"; taskId?: string; run?: DemoRun; label: string; check: (snapshot: CompositionSnapshot) => string; sourceChecks?: { rule: string; passed: boolean; }[]; }): Promise<{ snapshot: CompositionSnapshot; receipt: CommandReceipt; }>; read(): Promise; readRevision(snapshotId: string): Promise; write(html: string, snapshotId: string, label?: string, authorize?: () => void): Promise; edit(snapshotId: string, oldString: string, newString: string, label?: string, authorize?: () => void): Promise; attachAsset(asset: { id: string; src: string; kind: AssetKind; durationSeconds?: number; }, snapshotId: string, authorize?: () => void): Promise; revisions(): Promise<{ revisions: Omit[]; currentSnapshotId: string; canUndo: boolean; }>; restore(targetId: string, snapshotId: string, authorize?: () => void): Promise; undo(snapshotId: string, authorize?: () => void): Promise; watch(listener: (snapshot: CompositionSnapshot) => void): () => void; } //#endregion export { CompositionStore }; //# sourceMappingURL=compositionStore.d.ts.map