type Callback = (value?: any) => void;
type DispatchWithCallback = (value: any, callback?: Callback) => void;
declare function useStateWithCallback(initialState: any | (() => any)): [any, DispatchWithCallback];
export default useStateWithCallback;
