import { type EffectCallback, type Ref, type RefCallback } from 'react';
import { type EffectHook } from '@react-hookz/web';
/**
 * Hook that combines useEffect with ref dependencies. Runs the effect whenever regular dependencies
 * change or when ref values change.
 */
export declare function useEffectWithRefDeps<T, RefDeps extends readonly Ref<T>[]>(effect: EffectCallback, regularDeps: unknown[], refDeps: [...RefDeps], options?: {
    deepCompare?: boolean | undefined;
    hook?: EffectHook | undefined;
}): { [K in keyof RefDeps]: RefDeps[K] extends Ref<infer U> ? RefCallback<U> : never; };
//# sourceMappingURL=useEffectWithRefDeps.d.ts.map