type RequestAnimationFrameType = { cancel: () => void; }; /** * --- * category: utilities/DOM * --- * * If DOM is usable, returns a function wrapper for * window.requestAnimationFrame. Otherwise sets * a manual timeout. * @module requestAnimationFrame * * @returns {function} requestAnimationFrame takes a callback function as an argument and returns a cancel method */ declare const requestAnimationFrame: (cb: FrameRequestCallback) => { cancel: () => void; }; export default requestAnimationFrame; export { requestAnimationFrame }; export type { RequestAnimationFrameType }; //# sourceMappingURL=requestAnimationFrame.d.ts.map