import { TemplatePortal } from '@angular/cdk/portal'; import { OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core'; import { Subject } from 'rxjs'; import { CanDisable } from 'vdl-angular/core'; import { VdlTabLabel } from './tab-label'; /** @docs-private */ export declare class VdlTabBase { } export declare const _VdlTabMixinBase: (new (...args: any[]) => CanDisable) & typeof VdlTabBase; export declare class VdlTab extends _VdlTabMixinBase implements OnInit, CanDisable, OnChanges, OnDestroy { private _viewContainerRef; /** Content for the tab label given by ``. */ templateLabel: VdlTabLabel; /** * Template provided in the tab content that will be used if present, used to enable lazy-loading */ _explicitContent: TemplateRef; /** Template inside the VdlTab view that contains an ``. */ _implicitContent: TemplateRef; /** Plain text label for the tab, used when there is no template label. */ textLabel: string; /** Aria label for the tab. */ ariaLabel: string; /** * Reference to the element that the tab is labelled by. * Will be cleared if `aria-label` is set at the same time. */ ariaLabelledby: string; /** Portal that will be the hosted content of the tab */ private _contentPortal; /** @docs-private */ readonly content: TemplatePortal | null; /** Emits whenever the label changes. */ readonly _labelChange: Subject; /** Emits whenever the disable changes */ readonly _disableChange: Subject; /** * The relatively indexed position where 0 represents the center, negative is left, and positive * represents the right. */ position: number | null; /** * The initial relatively index origin of the tab if it was created and selected after there * was already a selected tab. Provides context of what position the tab should originate from. */ origin: number | null; /** * Whether the tab is currently active. */ isActive: boolean; constructor(_viewContainerRef: ViewContainerRef); ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; ngOnInit(): void; }