import { FlexyBaseComponent } from '../base'; export declare class FlexyTabsComponent extends FlexyBaseComponent { readonly tablist: HTMLElement | null; readonly tabpanels: HTMLElement | null; readonly tabIndicator: HTMLElement | null; readonly tabs: HTMLElement[]; readonly panels: HTMLElement[]; selectedTab: number; constructor(host: HTMLElement); selectNextTab(focus?: boolean): void; selectPreviousTab(focus?: boolean): void; selectLastTab(focus?: boolean): void; selectFirstTab(focus?: boolean): void; selectTab(selectedIndex: number, focus?: boolean): void; /** Get index of the focused tab, if none of the tabs are focused, return -1 */ getFocusedTab(): number; /** Move the focus to specific tab */ focusTab(index: number): void; private _previousKeyDownTimestamp; addTab(tab: HTMLElement, panel: HTMLElement): void; updateTabIndicator(animation?: boolean): void; isValidIndex(index: number): boolean; /** * Scroll the previous or next tab of the provided tab into viewport * with an animation or not */ autoScroll(index: number, animate?: boolean): void; }