/** * Copyright Aquera Inc 2023 * * This source code is licensed under the BSD-3-Clause license found in the * LICENSE file in the root directory of this source tree. */ import { TemplateResult } from 'lit'; import '../nile-icon-button/nile-icon-button'; import NileElement from '../internal/nile-element'; import type { CSSResultGroup } from 'lit'; /** * Nile icon component. * * @tag nile-tab * * * @dependency nile-icon-button * * @slot - The tab's label. * * @event nile-close - Emitted when the tab is closable and the close button is activated. * * @csspart base - The component's base wrapper. * @csspart close-button - The close button, an ``. * @csspart close-button__base - The close button's exported `base` part. */ export declare class NileTab extends NileElement { static styles: CSSResultGroup; private readonly attrId; private readonly componentId; tab: HTMLElement; /** The name of the tab panel this tab is associated with. The panel must be located in the same tab group. */ panel: string; /** Draws the tab in an active state. */ active: boolean; /** Makes the tab closable and shows a close button. */ closable: boolean; /** Disables the tab and prevents selection. */ disabled: boolean; centered: boolean; connectedCallback(): void; private handleCloseClick; handleActiveChange(): void; handleDisabledChange(): void; /** Sets focus to the tab. */ focus(options?: FocusOptions): void; /** Removes focus from the tab. */ blur(): void; render(): TemplateResult<1>; } export default NileTab; declare global { interface HTMLElementTagNameMap { 'nile-tab': NileTab; } }