/** src: https://www.benmvp.com/blog/8-helpful-custom-react-hooks/
 * delay State update till next animation frame. Similar to debounce but shorter */
export declare const useRafState: <S>(initialState: S | (() => S)) => readonly [S, (value: S | ((prevState: S) => S)) => void];
