import { Dispatch, SetStateAction } from 'react'; declare const useRafState: (initialState: S | (() => S)) => [S, Dispatch>]; export default useRafState;