UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

8 lines (7 loc) 296 B
import { RefObject } from 'react'; import { ColorLayer } from './vendor/gaussianBackground'; export declare const useGaussianBackground: (ref: RefObject<HTMLCanvasElement | null>) => (layers: ColorLayer[], options?: { blurRadius?: number; fpsCap?: number; scale?: number; }) => void;