export declare function withRAF(operation: () => void): () => void; export declare function withRAFThrottle void>(func: T): T & { cleanup: () => void; }; export declare function withDoubleRAF void>(func: T): T & { cleanup: () => void; };