import * as React from 'react';
export declare const useSafeSetState: <T>(initialState?: T | (() => T) | undefined) => [T | undefined, React.Dispatch<React.SetStateAction<T>>];
export declare const usePrevious: (value: any) => undefined;
export declare const 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 const useTimeout: (ms?: number, key?: string) => boolean | undefined;
export declare const useIsMounted: () => React.MutableRefObject<boolean>;
