import { FocusMonitor } from '@angular/cdk/a11y'; import { Directionality } from '@angular/cdk/bidi'; import { ViewportRuler } from '@angular/cdk/scrolling'; import { AfterContentChecked, AfterContentInit, ChangeDetectorRef, ElementRef, NgZone, OnDestroy, QueryList } from '@angular/core'; import { CanDisable, HasTabIndex } from 'vdl-angular/core'; import { VdlInkBar } from '../ink-bar'; /** @docs-private */ export declare class VdlTabNavBase { _elementRef: ElementRef; constructor(_elementRef: ElementRef); } export declare const _VdlTabNavMixinBase: typeof VdlTabNavBase; /** * Navigation component matching the styles of the tab group header. * Provides anchored navigation with animated ink bar. */ export declare class VdlTabNav extends _VdlTabNavMixinBase implements AfterContentChecked, AfterContentInit, OnDestroy { private _dir; private _ngZone; private _changeDetectorRef; private _viewportRuler; /** Subject that emits when the component has been destroyed. */ private readonly _onDestroy; private _activeLinkChanged; private _activeLinkElement; _inkBar: VdlInkBar; /** Query list of all tab links of the tab navigation. */ _tabLinks: QueryList; constructor(elementRef: ElementRef, _dir: Directionality, _ngZone: NgZone, _changeDetectorRef: ChangeDetectorRef, _viewportRuler: ViewportRuler); /** * Notifies the component that the active link has been changed. * @deletion-target 7.0.0 `element` parameter to be removed. */ updateActiveLink(element: ElementRef): void; ngAfterContentInit(): void; /** Checks if the active link has been changed and, if so, will update the ink bar. */ ngAfterContentChecked(): void; ngOnDestroy(): void; /** Aligns the ink bar to the active link. */ _alignInkBar(): void; } export declare class VdlTabLinkBase { } export declare const _VdlTabLinkMixinBase: (new (...args: any[]) => HasTabIndex) & (new (...args: any[]) => CanDisable) & typeof VdlTabLinkBase; /** * Link inside of a `vdl-tab-nav-bar`. */ export declare class VdlTabLink extends _VdlTabLinkMixinBase implements OnDestroy, CanDisable, HasTabIndex { private _tabNavBar; _elementRef: ElementRef; /** * @deprecated * @deletion-target 7.0.0 `_focusMonitor` parameter to be made required. */ private _focusMonitor; /** Whether the tab link is active or not. */ protected _isActive: boolean; /** Whether the link is active. */ active: boolean; constructor(_tabNavBar: VdlTabNav, _elementRef: ElementRef, tabIndex: string, /** * @deprecated * @deletion-target 7.0.0 `_focusMonitor` parameter to be made required. */ _focusMonitor?: FocusMonitor); ngOnDestroy(): void; /** * Handles the click event, preventing default navigation if the tab link is disabled. */ _handleClick(event: MouseEvent): void; }