import { Dispatch, SetStateAction } from 'react'; export declare function useSafeState(initialState: S | (() => S)): [S, Dispatch>]; export declare function useSafeState(): [ S | undefined, Dispatch> ];