import { Ref, RefCallback } from "react"; //#region src/utils/use-composed-refs.d.ts type OptionalRef = Ref | undefined; /** * Compose multiple refs into a single callback ref. * * @example * ```tsx * const composedRef = composeRefs(ref1, ref2, ref3); * return
; * ``` */ declare function composeRefs(...refs: (OptionalRef | OptionalRef[])[]): RefCallback; /** * Hook that composes multiple refs into a single callback ref. * * Memoized for stable reference. * * @example * ```tsx * const composedRef = useComposedRefs(forwardedRef, localRef); * return
; * ``` */ declare function useComposedRefs(...refs: OptionalRef[]): RefCallback; //#endregion export { composeRefs, useComposedRefs }; //# sourceMappingURL=use-composed-refs.d.ts.map