import type { ReactElement } from 'react'; /** * What a status says about the thing it labels. The five tones are the * theme's own palette roles, so a status reads the same in every card. */ export type StatusTone = 'neutral' | 'info' | 'success' | 'warning' | 'error'; export interface StatusChipProps { label: string; tone?: StatusTone; /** An icon before the label, such as an `MdiIcon`. */ icon?: ReactElement; /** Outlined for a quiet status beside other content; filled to stand out. */ variant?: 'filled' | 'outlined'; /** * The root element. `span` where the chip sits inside phrasing content, * such as a heading or a tab label, where a `div` is not allowed. */ component?: 'div' | 'span'; 'data-testid'?: string; } /** * A record's state as a small chip — On, Connected, Needs attention * (AGL-3637). Plugins mapped each status to a hand-picked MUI `Chip` color * per card, and the same state came out in different colors on different * cards; a tone names what the state means and the theme picks the color. */ export declare function StatusChip(props: StatusChipProps): import("react").JSX.Element; export declare namespace StatusChip { var displayName: string; } export default StatusChip;