/** Ordered, content-addressed H3 inputs shared by prompt writing and provider submission. */ import { type ContinuityServices } from "./video-continuity.ts"; import { type CharacterEntry } from "./providers.ts"; import { type CrocoProjectState } from "./preproduction-workspace.ts"; import type { VideoGenerationInput } from "./video-production-state.ts"; export declare const videoDigest: (value: string | Uint8Array) => string; export interface VideoPlanOptions { systemPrompt: string; maxReferences: number; maxReferenceBytes: number; compositionPath?: string; continuity?: ContinuityServices; } /** Compute references from current files; reading alone never submits or refines a video. */ export declare function planVideoGeneration(projectFolder: string, state: CrocoProjectState, unitId: string, runId: string, characters: readonly CharacterEntry[], options: VideoPlanOptions): Promise<{ input: VideoGenerationInput; files: Array<{ relativePath: string; bytes: Buffer; }>; }>; /** Persist the same bytes the Agent will inspect and the provider will upload. */ export declare function freezeVideoInputs(projectFolder: string, files: Array<{ relativePath: string; bytes: Buffer; }>): Promise;