import { type StartEndOptions, type FoundationElementDefinition, FoundationElement } from '@ni/fast-foundation'; import type { TabsOwner } from '../patterns/tabs/types'; declare global { interface HTMLElementTagNameMap { 'nimble-anchor-tabs': AnchorTabs; } } export type TabsOptions = FoundationElementDefinition & StartEndOptions; /** * A nimble-styled set of anchor tabs */ export declare class AnchorTabs extends FoundationElement implements TabsOwner { /** * The id of the active tab * * @public * @remarks * HTML Attribute: activeid */ activeid?: string; /** * @internal */ tabs: HTMLElement[]; /** * @internal */ showScrollButtons: boolean; /** * A reference to the active tab * @public */ activetab?: HTMLElement; /** * A reference to the tablist div * @internal */ tablist: HTMLElement; /** * @internal */ readonly leftScrollButton?: HTMLElement; /** * @internal */ readonly tabSlotName = "anchortab"; private readonly tabListResizeObserver; private tabIds; constructor(); /** * @internal */ activeidChanged(_oldValue: string, _newValue: string): void; /** * @internal */ tabsChanged(): void; /** * @internal */ onScrollLeftClick(): void; /** * @internal */ onScrollRightClick(): void; /** * @internal */ connectedCallback(): void; /** * @internal */ disconnectedCallback(): void; private readonly isDisabledElement; private readonly isHiddenElement; private readonly isFocusableElement; private readonly setTabs; private getTabIds; private readonly handleTabClick; private readonly handleTabKeyDown; private focusFirstOrLast; private readonly adjustForward; private readonly adjustBackward; private readonly focusTabByIndex; private getTabAnchor; } export declare const anchorTabsTag = "nimble-anchor-tabs";