type WatcherFuncT = () => void; type OptionsT = { updateOnAnimationFrame: boolean; enabled: boolean; }; declare function useWatcher(watcher: WatcherFuncT, { updateOnAnimationFrame, enabled }: OptionsT): void; export default useWatcher; //# sourceMappingURL=useWatcher.d.ts.map