import{type TemplateResult}from'lit';import{LyraElement}from'../../../internal/lyra-element.js';export interface LyraTabEventMap{'lr-close':CustomEvent;} /** * `` — one tab in a ``'s strip. Mirrors `wa-tab` / `sl-tab`. * * A declarative descriptor, not the interactive control: `` renders the real * `role="tab"` button and projects this element's content into it, so the whole ARIA and * roving-tabindex contract stays in one place. That means the content may be rich (an icon plus a * label, a badge), but its direct element roots are inert while projected so the button remains the * sole action. The group's real button gets only the default slot's accessibility-exposed flattened * text as its accessible name; author-hidden, inert, or CSS-hidden branches do not contribute. * * Pair it with a `` whose `name` matches this element's `panel`. * `closable` adds a localized visual close affordance. It shares the owning tab's single APG focus * stop rather than nesting another interactive control inside the group's real tab button: click * the affordance, or press Delete while the real tab button is focused. Either path emits the * noncancelable `lr-close` notification without selecting or removing the tab; the owning * application decides whether and when to remove the matching tab and panel. * * @customElement lr-tab * @slot - The tab's visual label content. Its direct default-slot element roots are inert while the * owning group projects them; their accessibility-exposed flattened text names the real tab button. * @event lr-close - Emitted when the close affordance is clicked or Delete is pressed on its * focused owning tab. Bubbles, is composed, and is not cancelable; the component does not remove * itself. * @csspart base - Compatibility name for the tab content wrapper; use `tab`. * @csspart tab - The tab content wrapper. It is the same node as `base`. * @csspart close-button - The non-focusable visual close affordance shown when `closable` is true. * @csspart close-button__base - Compatibility alias on the same close affordance as `close-button`. * @status stable * @since 8.0.0 */ export declare class LyraTab extends LyraElement{static styles:import("lit").CSSResultGroup[]; /** The `name` of the `` this tab reveals. */ panel:string; /** Removes the tab from keyboard navigation and prevents activation. */ disabled:boolean; /** Whether this tab is the active tab. The owning group keeps this synchronized for hydrated * markup; setting it explicitly supplies the matching SSR hint. */ active:boolean; /** Shows a localized close affordance. Clicking it or pressing Delete on the focused owning tab * emits `lr-close`; it never removes the tab. The visual affordance is non-focusable because the * group projects it into the real tab button. */ closable:boolean;connectedCallback():void;private onClosePointerDown;private onCloseClick;render():TemplateResult;}declare global{interface HTMLElementTagNameMap{'lr-tab':LyraTab;}}