export interface RenderViaStreamingBridgeOptions {
    /** 0..1 fraction of frames rendered. Called as renderFrames advances. */
    onProgress?: (fraction: number) => void;
    /**
     * #44 — same AbortSignal → Remotion cancelSignal bridge as the canonical
     * renderCompositionToMp4 path. Aborting kills the Chromium render-frame pool
     * mid-flight (renderFrames rejects), so streamingEncode tears down ffmpeg
     * instead of churning the full render before honoring the cancel.
     */
    signal?: AbortSignal;
}
/**
 * Internal: pull out the composition→bundle dance so tests can mock
 * @remotion/bundler / @remotion/renderer wholesale.
 */
type CompForRender = {
    duration: number;
    fps: number;
    width: number;
    height: number;
    title?: string;
    [k: string]: unknown;
};
export declare function renderViaStreamingBridge(comp: CompForRender, outDir: string, opts?: RenderViaStreamingBridgeOptions): Promise<string>;
export {};
//# sourceMappingURL=remotion-bridge.d.ts.map