/** * @deprecated use `useState` instead, since React no longer * issues warnings when calling setState on unmounted components. */ export declare function useSafeSetState(initialState?: T | (() => T)): [T | undefined, React.Dispatch>]; export declare function usePrevious(value: any): undefined; export declare function useDeepCompareEffect(callback: any, inputs: any): void; /** * A hook that returns true once a delay has expired. * @param ms The delay in milliseconds * @param key A key that can be used to reset the timer * @returns true if the delay has expired, false otherwise */ export declare function useTimeout(ms?: number, key?: string): boolean; export declare function useIsMounted(): import("react").MutableRefObject; //# sourceMappingURL=hooks.d.ts.map