import { 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 const InlineMessageGroup: import("react").ForwardRefExoticComponent>; export default InlineMessageGroup;