declare type Callback = (s: S) => void; declare type Dispatch = (value: S, callback?: Callback) => void; export declare const useStateWithCallback: (initialState: S | (() => S), callback?: (s: S) => void) => [S, Dispatch]; export {};