/// <reference types="react" />
/**
 * Use request animation frame
 *
 * @param {Object} initialState
 */
declare const useRaf: <S>(initialState: S | (() => S)) => [S, import("react").Dispatch<import("react").SetStateAction<S>>];
export default useRaf;
