import type * as React from 'react'; import type { WithBaseUIEvent } from './types'; /** * Merges multiple sets of React props such that their event handlers are called in sequence (the user's * before our internal ones), and allows the user to prevent the internal event handlers from being * executed by attaching a `preventBaseUIHandler` method. It also merges the `style` prop, whereby * the user's styles overwrite the internal ones. * @important **`className` and `ref` are not merged.** * @param externalProps the user's external props. * @param internalProps our own internal props. * @returns the merged props. */ export declare function mergeReactProps(externalProps: WithBaseUIEvent> | undefined, ...internalProps: React.ComponentPropsWithRef[]): WithBaseUIEvent>;