import * as React from 'react'; /** Props for {@link Slot}, which merges its own props and ref onto a single child element. */ export interface SlotProps extends React.HTMLAttributes { /** * A single React element to merge props (and ref) onto. * @default undefined — renders nothing if omitted. */ children?: React.ReactNode | undefined; } /** * Merges its own props (and ref) onto its single child element instead of rendering a DOM node of its own — event handlers compose, `className` concatenates (even when the child's is a function), `style` merges, and other props are overridden by the child's own value. Throws on multiple children or a text child. * * @example * ```tsx * // ButtonTrigger renders {children} * // internally, so this renders your with the trigger's behavior: * * Open docs * * ``` */ export declare const Slot: { ({ ref: forwardedRef, ...props }: Omit & { ref?: React.Ref | undefined; }): React.ReactNode; displayName: string; };