import { type Dispatch, type SetStateAction } from 'react'; export declare function useSafeState(initialState: S | (() => S)): [S, Dispatch>]; export declare function useSafeState(initialState?: S | (() => S)): [S | undefined, Dispatch>]; export default useSafeState; //# sourceMappingURL=index.d.ts.map