import type { CrocoProjectState } from "./preproduction-workspace.ts"; import type { VideoArtifact, VideoGenerationRun } from "./video-production-state.ts"; /** Read, edit and verify one native file with optimistic concurrency for both import and generation. */ export declare function editNativeVideoComposition(origin: string, projectFolder: string, compositionPath: string, edit: (html: string) => T | Promise, signal: AbortSignal, expectedVersion?: string): Promise; /** Sync a verified H3 artifact, retaining its task identity and actual media coverage. */ export declare function syncNativeVideoClip(origin: string, projectFolder: string, run: Pick, artifact: Pick, state: CrocoProjectState, signal: AbortSignal): Promise; /** Prepare a reversible native file write; rollback uses the latest native file revision. */ export declare function prepareNativeVideoVersion(origin: string, projectFolder: string, run: VideoGenerationRun, artifact: VideoArtifact, state: CrocoProjectState, signal: AbortSignal, recoveryTimeoutMs: number): Promise<{ elementId: string; commit(): Promise; rollback(): Promise; }>;