export declare function useRAF(fn: () => void): () => void;