export type EncodeFramesToMp4Options = {
    fps: number;
    totalFrames: number;
    bitrate?: number;
    renderFrame: (frameIndex: number, timeSeconds: number) => Promise<HTMLCanvasElement | OffscreenCanvas>;
    onProgress?: (framesEncoded: number, totalFrames: number) => void;
};
export declare function isLocalVideoEncodingSupported(): boolean;
export declare function encodeFramesToMp4(opts: EncodeFramesToMp4Options): Promise<Blob>;
