/**
 * Chains N requestAnimationFrame calls and returns a cancel function.
 * Useful for ensuring layout is complete before performing operations.
 *
 * @param callback - The function to call after N frames
 * @param count - Number of RAF cycles to wait (default: 1)
 * @returns A function to cancel the pending RAF call
 *
 * @example
 * const cancel = chainRaf(() => {
 *   updatePosition();
 * }, 3);
 *
 * // Later, if needed:
 * cancel();
 */
export declare function chainRaf(callback: () => void, count?: number): () => void;
