import { MutableRefObject } from 'react'; import { State } from '../types'; declare type StateKeys = keyof State; /** * An implementation of state with dependency-tracking. */ export declare const useStateWithDeps: >(state: S, unmountedRef: MutableRefObject) => [MutableRefObject, Record, boolean>, (payload: S) => void]; export {};