import * as React$1 from "react"; //#region src/libs/compose-ref.d.ts type PossibleRef = React$1.Ref | undefined; /** * Compose refs into a single callback ref. If any child ref returns a React 19 cleanup, * the composed ref returns a combined cleanup that runs each (and nulls others). */ declare function composeRefs(...refs: PossibleRef[]): React$1.RefCallback; /** Memoized composeRefs; rebuilds only when any input ref changes. */ declare function useComposedRefs(...refs: PossibleRef[]): React$1.RefCallback; //#endregion export { composeRefs, useComposedRefs };