import { type RefAttributes, Key, ReactNode } from 'react'; import { NativeElementPropsWithoutKeyAndRef } from '../utils/jsx-types'; import { InlineMessageProps } from './InlineMessage'; export interface InlineMessageGroupItem extends Omit { key: Key; content: string; } export interface InlineMessageGroupProps extends Omit, 'children'> { /** * The inline messages within the group. * Ignored when `children` provided. */ items?: InlineMessageGroupItem[]; /** * Custom inline message nodes. */ children?: ReactNode; /** * Callback invoked when any item triggers `onClose`. */ onItemClose?: (key: Key) => void; } declare function InlineMessageGroup({ ref, ...props }: InlineMessageGroupProps & RefAttributes): import("react/jsx-runtime").JSX.Element; export default InlineMessageGroup;