type Ref = React.RefCallback | React.MutableRefObject | null | undefined; /** * Merges multiple refs into a single callback ref. * This is useful when you need to forward a ref while also keeping an internal ref. * * @param refs - Array of refs to merge * @returns A callback ref that will update all provided refs * * @example * ```tsx * const MyComponent = forwardRef((props, ref) => { * const internalRef = useRef(null); * const mergedRef = useMergeRefs([ref, internalRef]); * * return ; * }); * ``` */ export declare function useMergeRefs(refs: Ref[]): React.RefCallback; export {};