/** Validated durable records for video generation, native refinement and frozen exports. */ import { z } from "zod"; declare const input: z.ZodObject<{ unitId: z.ZodString; fingerprint: z.ZodString; systemPromptDigest: z.ZodString; brief: z.ZodString; references: z.ZodArray; label: z.ZodString; roles: z.ZodArray; sourcePath: z.ZodString; relativePath: z.ZodString; sha256: z.ZodString; mimeType: z.ZodString; }, z.core.$strip>>; durationSeconds: z.ZodNumber; requestDurationSeconds: z.ZodNumber; continuity: z.ZodOptional; unitId: z.ZodString; artifactId: z.ZodString; jobId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"tail-frame">; unitId: z.ZodString; relativePath: z.ZodString; sha256: z.ZodString; endSeconds: z.ZodNumber; }, z.core.$strip>], "mode">>; quality: z.ZodString; addGuideSourceJobId: z.ZodOptional; dependencyArtifactId: z.ZodOptional; }, z.core.$strip>; declare const media: z.ZodObject<{ relativePath: z.ZodString; mimeType: z.ZodString; durationSeconds: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; hasAudio: z.ZodBoolean; frameRate: z.ZodOptional; sha256: z.ZodString; }, z.core.$strip>; declare const run: z.ZodObject<{ id: z.ZodString; requestId: z.ZodString; sessionId: z.ZodString; unitId: z.ZodString; compositionPath: z.ZodString; phase: z.ZodEnum<{ queued: "queued"; running: "running"; completed: "completed"; failed: "failed"; preparing: "preparing"; prompting: "prompting"; submitting: "submitting"; downloading: "downloading"; syncing: "syncing"; interrupted: "interrupted"; "submission-unknown": "submission-unknown"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; input: z.ZodObject<{ unitId: z.ZodString; fingerprint: z.ZodString; systemPromptDigest: z.ZodString; brief: z.ZodString; references: z.ZodArray; label: z.ZodString; roles: z.ZodArray; sourcePath: z.ZodString; relativePath: z.ZodString; sha256: z.ZodString; mimeType: z.ZodString; }, z.core.$strip>>; durationSeconds: z.ZodNumber; requestDurationSeconds: z.ZodNumber; continuity: z.ZodOptional; unitId: z.ZodString; artifactId: z.ZodString; jobId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"tail-frame">; unitId: z.ZodString; relativePath: z.ZodString; sha256: z.ZodString; endSeconds: z.ZodNumber; }, z.core.$strip>], "mode">>; quality: z.ZodString; addGuideSourceJobId: z.ZodOptional; dependencyArtifactId: z.ZodOptional; }, z.core.$strip>; prompt: z.ZodOptional; sessionId: z.ZodString; createdAt: z.ZodString; }, z.core.$strip>>; clientJobId: z.ZodUUID; payload: z.ZodOptional; inputs: z.ZodArray; asset_id: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; jobId: z.ZodOptional; artifactId: z.ZodOptional; previousArtifactId: z.ZodOptional; previousImportedClip: z.ZodOptional>; progress: z.ZodOptional; message: z.ZodOptional; }, z.core.$strip>; declare const artifact: z.ZodObject<{ relativePath: z.ZodString; mimeType: z.ZodString; durationSeconds: z.ZodNumber; width: z.ZodNumber; height: z.ZodNumber; hasAudio: z.ZodBoolean; frameRate: z.ZodOptional; sha256: z.ZodString; id: z.ZodString; unitId: z.ZodString; runId: z.ZodString; jobId: z.ZodString; quality: z.ZodString; fingerprint: z.ZodString; createdAt: z.ZodString; latentReserved: z.ZodBoolean; canContinueRefine: z.ZodOptional; eligibilityObservedAt: z.ZodString; compositionPath: z.ZodString; elementId: z.ZodOptional; }, z.core.$strip>; declare const refinement: z.ZodObject<{ sourceArtifactId: z.ZodString; sourceJobId: z.ZodString; idempotencyKey: z.ZodString; childJobId: z.ZodOptional; phase: z.ZodEnum<{ queued: "queued"; running: "running"; completed: "completed"; failed: "failed"; submitting: "submitting"; downloading: "downloading"; interrupted: "interrupted"; "submission-unknown": "submission-unknown"; checking: "checking"; unavailable: "unavailable"; unsupported: "unsupported"; }>; outputPath: z.ZodOptional; media: z.ZodOptional; sha256: z.ZodString; }, z.core.$strip>>; message: z.ZodOptional; updatedAt: z.ZodString; }, z.core.$strip>; declare const inputWarning: z.ZodObject<{ id: z.ZodString; unitId: z.ZodString; reason: z.ZodString; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"storyboard">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"keyframe">; keyframeId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"entity">; entityId: z.ZodString; }, z.core.$strip>], "kind">; }, z.core.$strip>; export declare const videoExportSettingsSchema: z.ZodObject<{ mode: z.ZodDefault>; fps: z.ZodDefault, z.ZodLiteral<30>, z.ZodLiteral<60>]>>; quality: z.ZodDefault>; format: z.ZodDefault>; resolution: z.ZodDefault>; variables: z.ZodDefault>>; }, z.core.$strip>; declare const videoExport: z.ZodObject<{ id: z.ZodString; requestId: z.ZodString; sessionId: z.ZodString; compositionPath: z.ZodString; rendererVersion: z.ZodString; settings: z.ZodObject<{ mode: z.ZodDefault>; fps: z.ZodDefault, z.ZodLiteral<30>, z.ZodLiteral<60>]>>; quality: z.ZodDefault>; format: z.ZodDefault>; resolution: z.ZodDefault>; variables: z.ZodDefault>>; }, z.core.$strip>; createdAt: z.ZodString; updatedAt: z.ZodString; phase: z.ZodEnum<{ completed: "completed"; failed: "failed"; preparing: "preparing"; interrupted: "interrupted"; "checking-sources": "checking-sources"; refining: "refining"; "applying-edits": "applying-edits"; rendering: "rendering"; verifying: "verifying"; }>; snapshotPath: z.ZodString; snapshotDigest: z.ZodString; files: z.ZodArray>; sources: z.ZodArray; }, z.core.$strip>>; outputPath: z.ZodOptional; media: z.ZodOptional; sha256: z.ZodString; }, z.core.$strip>>; message: z.ZodOptional; renderGeometry: z.ZodOptional>; }, z.core.$strip>; export declare const videoProductionSchema: z.ZodObject<{ requests: z.ZodArray; operation: z.ZodEnum<{ generate: "generate"; regenerate: "regenerate"; }>; waiting: z.ZodOptional; predecessorId: z.ZodOptional; }, z.core.$strip>>>; inputWarnings: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"keyframe">; keyframeId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"entity">; entityId: z.ZodString; }, z.core.$strip>], "kind">; }, z.core.$strip>>>; acceptedInputWarningIds: z.ZodOptional>; compositionPath: z.ZodString; createdAt: z.ZodString; agentDispatchedAt: z.ZodOptional; }, z.core.$strip>>; runs: z.ZodArray; createdAt: z.ZodString; updatedAt: z.ZodString; input: z.ZodObject<{ unitId: z.ZodString; fingerprint: z.ZodString; systemPromptDigest: z.ZodString; brief: z.ZodString; references: z.ZodArray; label: z.ZodString; roles: z.ZodArray; sourcePath: z.ZodString; relativePath: z.ZodString; sha256: z.ZodString; mimeType: z.ZodString; }, z.core.$strip>>; durationSeconds: z.ZodNumber; requestDurationSeconds: z.ZodNumber; continuity: z.ZodOptional; unitId: z.ZodString; artifactId: z.ZodString; jobId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"tail-frame">; unitId: z.ZodString; relativePath: z.ZodString; sha256: z.ZodString; endSeconds: z.ZodNumber; }, z.core.$strip>], "mode">>; quality: z.ZodString; addGuideSourceJobId: z.ZodOptional; dependencyArtifactId: z.ZodOptional; }, z.core.$strip>; prompt: z.ZodOptional; sessionId: z.ZodString; createdAt: z.ZodString; }, z.core.$strip>>; clientJobId: z.ZodUUID; payload: z.ZodOptional; inputs: z.ZodArray; asset_id: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; jobId: z.ZodOptional; artifactId: z.ZodOptional; previousArtifactId: z.ZodOptional; previousImportedClip: z.ZodOptional>; progress: z.ZodOptional; message: z.ZodOptional; }, z.core.$strip>>; artifacts: z.ZodArray; sha256: z.ZodString; id: z.ZodString; unitId: z.ZodString; runId: z.ZodString; jobId: z.ZodString; quality: z.ZodString; fingerprint: z.ZodString; createdAt: z.ZodString; latentReserved: z.ZodBoolean; canContinueRefine: z.ZodOptional; eligibilityObservedAt: z.ZodString; compositionPath: z.ZodString; elementId: z.ZodOptional; }, z.core.$strip>>; files: z.ZodOptional>>; currentByUnit: z.ZodRecord; refinements: z.ZodArray; phase: z.ZodEnum<{ queued: "queued"; running: "running"; completed: "completed"; failed: "failed"; submitting: "submitting"; downloading: "downloading"; interrupted: "interrupted"; "submission-unknown": "submission-unknown"; checking: "checking"; unavailable: "unavailable"; unsupported: "unsupported"; }>; outputPath: z.ZodOptional; media: z.ZodOptional; sha256: z.ZodString; }, z.core.$strip>>; message: z.ZodOptional; updatedAt: z.ZodString; }, z.core.$strip>>; exports: z.ZodArray>; fps: z.ZodDefault, z.ZodLiteral<30>, z.ZodLiteral<60>]>>; quality: z.ZodDefault>; format: z.ZodDefault>; resolution: z.ZodDefault>; variables: z.ZodDefault>>; }, z.core.$strip>; createdAt: z.ZodString; updatedAt: z.ZodString; phase: z.ZodEnum<{ completed: "completed"; failed: "failed"; preparing: "preparing"; interrupted: "interrupted"; "checking-sources": "checking-sources"; refining: "refining"; "applying-edits": "applying-edits"; rendering: "rendering"; verifying: "verifying"; }>; snapshotPath: z.ZodString; snapshotDigest: z.ZodString; files: z.ZodArray>; sources: z.ZodArray; }, z.core.$strip>>; outputPath: z.ZodOptional; media: z.ZodOptional; sha256: z.ZodString; }, z.core.$strip>>; message: z.ZodOptional; renderGeometry: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; export type VideoProduction = z.infer; export type VideoInputWarning = z.infer; export type VideoGenerationRun = z.infer; export type VideoGenerationInput = z.infer; export type VideoArtifact = z.infer; export type VideoRefinement = z.infer; export type VideoExport = z.infer; export type VideoExportSettings = z.infer; export type VideoMedia = z.infer; /** Empty stores are explicit at creation/migration, never inferred from a failed record parse. */ export declare function emptyVideoProduction(): VideoProduction; export {};