import { AriaLabelingProps, DOMProps, GlobalDOMAttributes } from '@react-types/shared'; import { DisclosurePanelProps, DisclosureProps } from '@react-spectrum/s2/Disclosure'; import { LinkProps } from 'react-aria-components/Link'; import React from 'react'; import { SlotProps } from 'react-aria-components/slots'; import { StyleString } from '@react-spectrum/s2/style'; export interface MessageSourceProps extends Omit { label: string; } /** * Message sources display references associated with a system message. Associating the source to * the output builds trust and transparency in the conversation. */ export declare const MessageSource: (props: MessageSourceProps & React.RefAttributes>) => React.ReactElement> | null; export interface SourceListProps extends DisclosurePanelProps { } /** * A SourceList displays an ordered list of sources inside a MessageSource. * Wrap SourceListItem children inside to have them numbered automatically. */ export declare const SourceList: (props: SourceListProps & React.RefAttributes>) => React.ReactElement> | null; export interface SourceListItemProps extends Omit, DOMProps { /** The content of the source list item. */ children: React.ReactNode; /** * Spectrum-defined styles, returned by the `style()` macro. */ styles?: StyleString; } /** * A SourceListItem represents a single source within a SourceList. * The item number is provided automatically by the parent SourceList. */ export declare const SourceListItem: (props: SourceListItemProps & React.RefAttributes>) => React.ReactElement> | null; interface NumberBadgeStyleProps { /** * The size of the number badge. * * @default 'S' */ size?: 'S' | 'M' | 'L' | 'XL'; } export interface NumberBadgeProps extends DOMProps, AriaLabelingProps, NumberBadgeStyleProps, SlotProps { /** * The value to be displayed in the notification badge. */ value: number; /** * Spectrum-defined styles, returned by the `style()` macro. */ styles?: StyleString; } /** * A small visual indicator showing a count or position. */ export declare const NumberBadge: React.ForwardRefExoticComponent>>; export {};