import { AfterContentInit, AfterViewInit, ElementRef, EventEmitter, OnDestroy, QueryList, Renderer2 } from '@angular/core'; import * as i0 from "@angular/core"; export declare class BaoTabHeader implements AfterViewInit { private renderer; private elementRef; /** * Emits its index when tab is clicked */ onTabClick: EventEmitter; constructor(renderer: Renderer2, elementRef: ElementRef); get nativeElement(): HTMLElement; onClick(el: HTMLElement): void; ngAfterViewInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class BaoTabPanel implements AfterViewInit { private renderer; private elementRef; constructor(renderer: Renderer2, elementRef: ElementRef); get nativeElement(): HTMLElement; ngAfterViewInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class BaoTablistComponent implements AfterViewInit, AfterContentInit, OnDestroy { private renderer; private elementRef; tabHeaders: QueryList; /** * Size of the tabs displayed */ size: 'small' | 'medium' | 'large'; /** * Optionnal value to be used as aria-label property on tablist component */ ariaLabel: string; /** * Emits the index of the new active tab */ activeTabChange: EventEmitter; /** * Index of the tab that is currently active */ private activeTabIndex; /** * Unique ID for every instance of BaoTablist component */ private uniqueId; constructor(renderer: Renderer2, elementRef: ElementRef); get nativeElement(): HTMLElement; get tabs(): HTMLCollection; leftKeyEvent(): void; rightKeyEvent(): void; /** * Makes the focus visible on tab header when changing from mouse to keyboard navigation */ tabKeyEvent(): void; /** * Makes the focus visible on tab header when changing from mouse to keyboard navigation */ tabShiftKeyEvent(): void; ngAfterViewInit(): void; ngAfterContentInit(): void; ngOnDestroy(): void; private setTablistAttributes; private setInitialActiveTab; private changeActiveTab; /** * Finds the next activable tab index when navigating with left and right arrow keys * @param currentIndex Tab index which currently has focus * @param isRight Whether the tab navigation is going in the right direction or not * @returns Index of the new tab that will receive focus */ private getNextActivableTabIndex; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class BaoTabsContainer implements AfterViewInit, AfterContentInit, OnDestroy { private renderer; private elementRef; tablist: BaoTablistComponent; private panelIdPrefix; private tabIdPrefix; constructor(renderer: Renderer2, elementRef: ElementRef); get tabs(): HTMLCollection; get panels(): NodeListOf; ngAfterViewInit(): void; ngAfterContentInit(): void; ngOnDestroy(): void; private setInitialActivePanel; private changeActivePanel; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }