import { type Ref, type RefCallback } from "react"; /** * One callback ref that sets every given ref. Components that keep their own * ref on an element and also forward the caller's use it, so neither * replaces the other. */ export declare function mergeRefs(...refs: Array | undefined>): RefCallback; /** {@link mergeRefs} kept stable across renders while the refs stay the same. */ export declare function useMergedRefs(...refs: Array | undefined>): RefCallback;