import { Ref, ReactNode } from 'react'; /** * Clones valid React elements and applies additional props to them. * * @param children - The child nodes to process. * @param extraProps - Additional props to be passed to valid React elements. * @returns A ReactNode with extra props applied to valid elements, leaving others unchanged. */ export declare const applyPropsToChildren: (children: ReactNode, extraProps?: Record) => ReactNode; /** * Utility function to merge multiple refs into a single ref callback function. * * @param refs - Refs to be merged. * @returns A callback function that sets the value on all merged refs. */ export declare const mergeRefs: (...refs: (Ref | undefined)[]) => Ref;