declare const useSetState: >(initialState?: T) => [T, (patch: Partial | ((prevState: T) => Partial)) => void]; export default useSetState;