import { type CompiledVisualArtifact, type CompileVisualArtifactOptions } from "./artifact-compiler.ts"; import type { ArtifactHostOptions } from "./integration-types.ts"; export interface RenderVisualArtifactVideoOptions { readonly fastRender?: boolean; readonly fastRenderSpeed?: number; /** Maximum export workers. Defaults to FAST_RENDER-PARA, then 1. */ readonly fastRenderParallel?: number; readonly output: string; readonly overwrite?: boolean; readonly ffmpegPath?: string; readonly crf?: number; readonly preset?: string; /** Maximum number of DOM Timeline pages used to sample dynamic artifact frames. */ readonly domPages?: number; /** Opaque artifact pixels are unchanged; transparent pixels are composited over this color. */ readonly background?: string; readonly signal?: AbortSignal; readonly onProgress?: (progress: Readonly<{ phase: "rendering" | "encoding"; frame: number; totalFrames: number; }>) => void; } export interface RenderVisualArtifactVideoResult { readonly output: string; readonly snapshotId: string; readonly width: number; readonly height: number; readonly fps: number; readonly totalFrames: number; readonly durationSeconds: number; readonly byteLength: number; readonly sha256: string; } /** * Renders an ABI v1 artifact through the Render Engine's deterministic DOM * timeline and encodes the sampled frames as a browser-compatible H.264 MP4. */ export declare function renderVisualArtifactVideo(input: CompiledVisualArtifact | CompileVisualArtifactOptions, options: RenderVisualArtifactVideoOptions, integration: ArtifactHostOptions): Promise; //# sourceMappingURL=artifact-video-renderer.d.ts.map