/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { EventEmitter, InjectionToken, OnChanges, OnDestroy, SimpleChanges, TemplateRef } from '@angular/core'; import { Subject } from 'rxjs'; import { NzSafeAny } from 'ng-zorro-antd/core/types'; import { TabTemplateContext } from './interfaces'; import { NzTabLinkDirective, NzTabLinkTemplateDirective } from './tab-link.directive'; import * as i0 from "@angular/core"; /** * Used to provide a tab set to a tab without causing a circular dependency. */ export declare const NZ_TAB_SET: InjectionToken; export declare class NzTabComponent implements OnChanges, OnDestroy { nzTitle: string | TemplateRef; nzClosable: boolean; nzCloseIcon: string | TemplateRef; nzDisabled: boolean; nzForceRender: boolean; readonly nzSelect: EventEmitter; readonly nzDeselect: EventEmitter; readonly nzClick: EventEmitter; readonly nzContextmenu: EventEmitter; nzTabLinkTemplateDirective: NzTabLinkTemplateDirective; template: TemplateRef | null; linkDirective: NzTabLinkDirective; contentTemplate: TemplateRef; isActive: boolean; hasBeenActive: boolean; position: number | null; origin: number | null; closestTabSet: any; readonly stateChanges: Subject; get content(): TemplateRef; get label(): string | TemplateRef; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; setActive(active: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_nzClosable: unknown; static ngAcceptInputType_nzDisabled: unknown; static ngAcceptInputType_nzForceRender: unknown; }