export declare type IHookStateInitialSetter = () => S; export declare type IHookStateInitAction = S | IHookStateInitialSetter; export declare type IHookStateSetter = ((prevState: S) => S) | (() => S); export declare type IHookStateSetAction = S | IHookStateSetter; export declare type IHookStateResolvable = S | IHookStateInitialSetter | IHookStateSetter; export declare function resolveHookState(nextState: IHookStateInitAction): S; export declare function resolveHookState(nextState: IHookStateSetAction, currentState?: C): S; export declare function resolveHookState(nextState: IHookStateResolvable, currentState?: C): S;