import { EventEmitter } from '../../stencil-public-runtime'; import { MdsChipEvent } from './meta/interface'; import { ChipVariantType } from "../../type/variant"; import { ToneMinimalVariantType } from "../../type/tone"; /** * @category tags */ export declare class MdsChip { host: HTMLMdsChipElement; private km; private labelElement?; private t; /** * Adds ARIA support to the element if has interaction */ clickable?: boolean; /** * Shows the cross icon to perform cancel/delete action on element */ readonly deletable?: boolean; /** * Sets the component disabled status: neither the label nor the delete button can be focused * or activated */ readonly disabled?: boolean; /** * The icon displayed to the left of the component's label */ readonly icon?: string; /** * The label displayed to the right of the component's icon */ readonly label: string; /** * Sets the component selected */ selected?: boolean; /** * Sets if the component change is status to selected when is clicked */ readonly selectable?: boolean; /** * A colour drawn as a round swatch where the icon goes, in place of `icon`: any CSS colour * (`#2f6fd0`, `rgb(47 111 208)`, `oklch(55% 0.2 260)`). It is a value of the product, the * colour the label names (a family of colours, a category, a calendar), not a role of Magma: * the chip draws it as it is given in every mode and theme, inside a ring that keeps it visible * on the chip, at rest and selected. Decorative: hidden from assistive technologies, since the * label names it. A value that is not a colour draws the empty ring. * @example '#2f6fd0' */ readonly swatch?: string; /** * Sets the color variant of the component */ readonly variant?: ChipVariantType; /** * Sets the color variant tone of the component */ readonly tone?: ToneMinimalVariantType; /** * Emits when the component's label is clicked */ clickLabelEvent: EventEmitter; /** * Emits when the component's delete button is clicked */ deleteEvent: EventEmitter; /** * Emits when the component's label is clicked and when `selectable` attribute is set to `true` */ selectEvent: EventEmitter; handleSelectableProp(newValue: boolean): void; handleSelectedProp(newValue: boolean): void; private onClickLabelHandler; private onDeleteHandler; private labelRef; private attachLabelKeyboard; componentWillLoad(): void; connectedCallback(): void; disconnectedCallback(): void; render(): any; }