import { GradientDirection } from '../../../../models/models/canvas-dispatcher/utils/renderers/gradient-renderer';

interface UseGradientRendererProps {
    width: number;
    height: number;
    onFrame?: (rgba: Uint8ClampedArray) => void;
    colors: string[];
    direction: GradientDirection;
    speed?: number;
    loop?: boolean;
}
export declare const useGradientRenderer: ({ width, height, onFrame, colors, direction, speed, loop, }: UseGradientRendererProps) => readonly [boolean, () => void];
export {};
//# sourceMappingURL=use-gradient-renderer.d.ts.map