import { type Ref } from "react"; type RefCallback = (node: T | null) => void; /** * Combines multiple refs into a single callback ref. * * @remarks * Useful when you need to forward a ref to a child component but also need to access the DOM node locally. * It handles both callback refs and object refs. * * @typeParam T - The type of the element. * @param refs - The refs to combine. * @returns A callback ref that updates all provided refs. * * @example * ```tsx * const ref1 = useRef(null); * const ref2 = useRef(null); * const combinedRef = useCombinedRefs(ref1, ref2); * return
; * ``` */ export declare function useCombinedRefs(...refs: Array | undefined>): RefCallback; export {};