import { Renderer } from '../../../../models/models/canvas-dispatcher';
interface UseStreamableRendererProps {
    renderer: Renderer | null;
    width: number;
    height: number;
    fps: number;
    durationMs?: number;
    onFrame?: (rgba: Uint8ClampedArray) => void;
}
export declare function useStreamableRenderer({ renderer, width, height, fps, durationMs, onFrame, }: UseStreamableRendererProps): {
    isStreaming: boolean;
    startStreaming: () => void;
    stopStreaming: () => void;
};
export {};
//# sourceMappingURL=use-streamable-renderer.d.ts.map