import * as React from 'react'; /** * Hook similar to useEffect that triggers a frame when dependencies change. * It will deeply compare the dependencies and only trigger a frame if they have changed. * Frames are debounced to the next animation frame to ensure consistency with the * display refresh rate. The optional profileId gives insights on the frame timings. * * Usage: * * ```tsx * useTriggerFrame(() => { * // Your frame code here * }, [dependencies]); * ``` */ export declare function useTriggerFrame(frame: () => void, deps: React.DependencyList, optionsFromOutside?: { profileId?: string; /** * Comparison strategy for the deps parameter * @default 'deep' */ comparison?: 'deep' | 'shallow'; } | string): void; //# sourceMappingURL=useTriggerFrame.d.ts.map