import { Dispatch, SetStateAction } from 'react'; interface ReadOnlyRefObject { readonly current: T; } interface UseStateRef { (initialState: S | (() => S)): [S, Dispatch>, ReadOnlyRefObject]; (): [S | undefined, Dispatch>, ReadOnlyRefObject]; } export declare const useStateRef: UseStateRef; export {}; //# sourceMappingURL=useStateRef.d.ts.map