type Return<S> = [S, (arg0: S) => void];
declare const useStateWithCallback: <S>(defaultValue: S, callback?: ((arg0: S) => void | Promise<any>) | undefined) => Return<S>;
export default useStateWithCallback;
