import React from 'react'; /** * Debug a `useEffect` hook by logging the dependencies that changed. * @param effectHook The effect hook to debug. * @param dependencies Array of dependencies for the effect hook. * @param dependencyNames Array of the names for the dependencies. If not provided, the index of the dependency will be used. * * @example * useEffectDebugger( * () => { * // do something * }, * [dependency1, dependency2], * ['dependency1', 'dependency2'], * ); * @internal Should only be used in development. */ export declare const useEffectDebugger: (effectHook: React.EffectCallback, dependencies: React.DependencyList, dependencyNames?: string[]) => void;