import type { HTMLAttributes, MouseEventHandler, ReactNode } from 'react'; import type { SxProp } from '../Layout/sx.cjs'; export type ChipColor = 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger'; export type ChipSize = 'sm' | 'md'; export type ChipVariant = 'soft' | 'outline' | 'solid'; export interface ChipProps extends Omit, 'onSelect'> { /** Color/variant tone. Default: `default`. */ color?: ChipColor; /** Visual style. Default: `soft`. */ variant?: ChipVariant; /** Size preset. Default: `md`. */ size?: ChipSize; /** Leading icon or avatar node. */ icon?: ReactNode; /** Avatar node (rendered before icon if both supplied). */ avatar?: ReactNode; /** * When provided, renders an X button that calls this. The chip itself becomes * focusable (the X leaves the tab order) and Delete / Backspace on it removes it. */ onDelete?: MouseEventHandler; /** Accessible label for the delete button. Default: `Remove`. */ deleteLabel?: string; /** Make the chip itself clickable (becomes role=button). */ onClick?: MouseEventHandler; /** Disabled visual + non-interactive. */ disabled?: boolean; /** * One-off CSS, same as `Box`'s `sx`: each value may be a scalar or a * responsive breakpoint map (`{ base, sm, md, lg, xl }`). Scalar-only sx * merges into inline style; responsive sx injects a scoped class. */ sx?: SxProp; /** The chip's text/content. */ children: ReactNode; } /** * Compact label primitive for tags, statuses, filter pills, and selected items. * Six color tones × three variants. Optional leading icon/avatar and trailing * delete button. * * @example * Active * …}>Engineering * PS}>Premkumar S. */ export declare const Chip: import("react").ForwardRefExoticComponent>;