/** * React utility to merge refs. * * When developing low level UI components, it is common to have to use a local * ref but also support an external one using React.forwardRef. Natively, React * does not offer a way to set two refs inside the ref property. * * @param Array of refs (object, function, etc.) * * @example * * const Example = React.forwardRef(function Example(props, ref) { * const localRef = React.useRef(); * const mergedRefs = useMergeRefs([localRef, ref]); * * return
; * }); * */ export declare function useMergeRefs