interface UseSweepRendererProps {
    width: number;
    height: number;
    fps: number;
    durationMs?: number;
    onFrame?: (rgba: Uint8ClampedArray) => void;
    minHue?: number;
    maxHue?: number;
    speed?: number;
}
/**
 * A custom hook that initializes and manages a `SweepRenderer` instance for rendering
 * animations with configurable hue sweeps. It also integrates with a streamable renderer
 * to handle streaming frames.
 *
 * @param {Object} props - The properties for configuring the sweep renderer.
 * @param {number} props.width - The width of the rendering canvas.
 * @param {number} props.height - The height of the rendering canvas.
 * @param {number} props.fps - The frames per second for the rendering.
 * @param {Function} props.onFrame - A callback function invoked on each frame render.
 * @param {number} [props.durationMs=5000] - The total duration of the rendering in milliseconds.
 * @param {number} [props.minHue=0] - The minimum hue value for the sweep.
 * @param {number} [props.maxHue=360] - The maximum hue value for the sweep.
 * @param {number} [props.speed=1] - The speed of the hue sweep animation.
 *
 * @returns {readonly [boolean, () => void]} A tuple containing:
 * - `isStreaming` (boolean): Indicates whether the rendering is currently streaming.
 * - `startStreaming` (Function): A function to start the rendering stream.
 */
export declare const useSweepRenderer: ({ width, height, fps, onFrame, durationMs, minHue, maxHue, speed, }: UseSweepRendererProps) => readonly [boolean, () => void];
export {};
//# sourceMappingURL=use-sweep-renderer.d.ts.map