import { ComponentPropsWithRef, ElementType } from "react"; //#region src/utils/merge-props.d.ts type Props = ComponentPropsWithRef; /** * Merge multiple props objects. * * - Event handlers (on*): chained - external first, ours second * - className: concatenated * - style: merged objects (external wins conflicts) * - other: last one wins * * @public * @example * ```ts * const merged = mergeProps( * { onClick: ourHandler, className: 'base' }, * { onClick: theirHandler, className: 'custom' } * ); * // { onClick: chainedHandler, className: 'custom base' } * ``` */ declare function mergeProps(...propSets: (Props | undefined)[]): Props; //#endregion export { mergeProps }; //# sourceMappingURL=merge-props.d.ts.map