import { Dispatch } from './useReducer'; export declare type LazyValueFn = () => S; export declare type SetStateFromCurrentStateAction = (prevState: S) => S; export declare type SetStateAction = S | SetStateFromCurrentStateAction; export declare function useState(initialState: S | LazyValueFn): [S, Dispatch>]; export declare function useState(): [ S | undefined, Dispatch> ];