import { LitElement } from 'lit'; /** * Tag. * @fires on-close - Captures the close event and emits the Tag value. Works with filterable tags. `detail:{ origEvent: PointerEvent,value: string }` * @fires on-click - Captures the click event and emits the Tag value. Works with clickable tags. `detail:{ origEvent: PointerEvent,value: string }` * @slot unnamed - Slot for icon. */ export declare class Tag extends LitElement { static styles: import("lit").CSSResult; /** * Tag name (Required). */ accessor label: string; /** * Size of the tag, `'md'` (default) or `'sm'`. Icon size: 16px. */ accessor tagSize: string; /** * Specify if the Tag is disabled. */ accessor disabled: boolean; /** * Determine if Tag state is filter. */ accessor filter: boolean; /** * When true, tag-group visibility limiting will never hide this tag. * Note: this should primarily for the `Clear All` tag. */ accessor persistentTag: boolean; /** * Removes label text truncation. */ accessor noTruncation: boolean; /** * Determine if Tag is clickable(applicable for old tags only). *
* **NOTE**: New tags are **clickable** by **default**. */ accessor clickable: boolean; /** * Color variants. */ accessor tagColor: 'default' | 'spruce' | 'sea' | 'lilac' | 'ai' | 'red'; /** * Clear Tag Text to improve accessibility */ accessor clearTagText: string; updated(): void; render(): import("lit-html").TemplateResult<1>; private _checkForNewTag; private _isTagClickable; private handleTagClear; private handleTagClearPress; private handleTagClick; private handleTagPress; } declare global { interface HTMLElementTagNameMap { 'kyn-tag': Tag; } } //# sourceMappingURL=tag.d.ts.map