import { EventEmitter } from '../../stencil-public-runtime'; import { ThemeLabelVariantType, ThemeStatusVariantType } from "../../type/variant"; import { ToneMinimalVariantType } from "../../type/tone"; import { TypographyTooltipType } from "../../type/typography"; import { TypographyTruncateType } from "../../type/text"; export type MdsLabelVariantType = ThemeLabelVariantType | ThemeStatusVariantType; /** * @category tags */ export declare class MdsLabel { private t; /** * The label of the component */ readonly label?: string; /** * Sets the theme variant colors */ readonly variant: MdsLabelVariantType; /** * Sets the tone of the color variant */ readonly tone: ToneMinimalVariantType; /** * Truncates text inside the label or displays it in multiline if needed */ readonly truncate?: TypographyTruncateType; /** * Specifies the typography of the element */ readonly typography: TypographyTooltipType; /** * Enables the cross icon to perform cancel/delete action on element */ readonly deletable: boolean; private onClickDelete; /** * Emits when the label has to be cancelled */ deletedEvent: EventEmitter; render(): any; }