import * as React from 'react'; type PossibleRef = React.Ref | undefined; /** * Merges any number of refs into a single callback ref that assigns the DOM node to all of them, supporting React 19 cleanup functions; prefer {@link useComposedRefs} inside components. * * @example * ```tsx * const internalRef = React.useRef(null); * return
; * ``` * * @internal Not part of the public API; import it inside the package only. */ export declare function composeRefs(...refs: PossibleRef[]): React.RefCallback; /** * Hook version of {@link composeRefs}, memoized with `useCallback` so the DOM node isn't detached and reattached on every render. * * @example * ```tsx * const rootRef = React.useRef(null); * const composedRef = useComposedRefs(forwardedRef, rootRef); * return ; * ``` */ export declare function useComposedRefs(...refs: PossibleRef[]): React.RefCallback; export {};