export type GetStateType<T> = () => T;
export type SetStateFunctionalInputType<T> = (value: T) => T;
export type SetStateType<T> = (value: T | SetStateFunctionalInputType<T>) => void;
export declare const useLatestState: <T>(initialValue: T) => [GetStateType<T>, SetStateType<T>];
