import React from "react"; /** * Accepts a function that contains imperative, possibly effectful code. * * This is the deepCompare version of the `React.useEffect` hooks (that is shallowed compare) * * @param effect Imperative function that can return a cleanup function * @param deps If present, effect will only activate if the values in the list change. * * @see https://gist.github.com/kentcdodds/fb8540a05c43faf636dd68647747b074#gistcomment-2830503 */ export declare function useDeepCompareEffect(effect: React.EffectCallback, deps: T): void; export declare function useDeepCompareCallback any>(callback: T, deps: readonly any[]): T; //# sourceMappingURL=useDeepCompareEffect.d.ts.map