/** * @internal */ export declare function raf(fn: () => void): () => void; /** * This is a function for calling a callback insid a double `requestAnimationFrame` (RAF). * This is useful for reliably triggering animations. * * The reason for using a double RAF is a common "bug" in browsers. * See: https://stackoverflow.com/questions/44145740/how-does-double-requestanimationframe-work * * @internal */ export declare function raf2(fn: () => void): () => void; //# sourceMappingURL=raf.d.ts.map