export declare function useStateCallback(initialState: T): [T, (state: T, cb?: (state: T) => void) => void];