/** * @license * Copyright 2025 Nuraly * SPDX-License-Identifier: MIT */ import { LitElement } from 'lit'; import { TagSize } from './tag.types.js'; declare const NrTagElement_base: (new (...args: any[]) => import("@nuralyui/common/mixins").DependencyAware) & (new (...args: any[]) => import("@nuralyui/common/mixins").ThemeAware) & (new (...args: any[]) => import("@nuralyui/common/mixins").EventHandlerCapable) & (new (...args: any[]) => import("packages/common/src/shared/base-mixin.js").LightDomContent) & typeof LitElement; /** * Tag component * Features: * - Preset colors and custom color support * - Closable tags with onClose event * - Checkable tags with checked state and change event * - Small size variant * - Disabled state * * @slot - Tag content * @slot icon - Optional leading icon * @fires nr-tag-close - when the close icon is clicked * @fires nr-tag-checked-change - when a checkable tag toggles * * @csspart tag - The root span element of the tag * @csspart icon - The wrapper span around the icon slot * @csspart content - The span wrapping the default text slot * @csspart close - The close button shown when closable is true */ export declare class NrTagElement extends NrTagElement_base { static styles: import("lit").CSSResult; static useShadowDom: boolean; /** Tag color preset or custom color string (hex/rgb) */ color?: string; /** Bordered style */ bordered: boolean; /** Small size */ size: TagSize; /** Closable */ closable: boolean; /** Checkable */ checkable: boolean; /** Checked (for checkable) */ checked: boolean; /** Disabled */ disabled: boolean; /** Internal closing anim state */ private closing; private onCloseClick; private onToggleChecked; private isPreset; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'nr-tag': NrTagElement; } } export {}; //# sourceMappingURL=tag.component.d.ts.map