export declare const useStateWithCallback: (initialState: T | (() => T), callback: (state: T) => void) => readonly [T, (newState: T) => void];