import { type MutableRefObject, type LegacyRef, type SetStateAction, type Dispatch, type RefCallback } from 'react'; /** * If you have multiple references (e.g. from different hooks) you need to apply to * the same element, you can use the `useMergeRefs` hook to combine them into one * reference. * @public */ export declare function useMergeRefs(refs: Array | LegacyRef | Dispatch> | undefined>): RefCallback;