import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, QueryList, SimpleChanges, TemplateRef } from '@angular/core'; import { Observable } from 'rxjs'; import { TabComponent } from './tab.component'; import * as i0 from "@angular/core"; export interface ITabOperation { id: number | string; operation: string; } export declare class TabsComponent implements OnChanges, AfterViewInit { private el; private cdr; static ID_SEED: number; tabsEle: ElementRef; tabsViewport: ElementRef; type: 'tabs' | 'pills' | 'options' | 'wrapped' | 'slider'; size: 'lg' | 'md' | 'sm' | 'xs'; showContent: boolean; scrollMode: boolean | 'normal' | 'auto'; activeTab: number | string; customWidth: string; reactivable: boolean; closeable: boolean; closeableIds: any[]; addable: boolean; addTabTpl: TemplateRef; scrollModeOperationTpl: TemplateRef; /** * @todo * 待重新设计 */ vertical: boolean; /** * @deprecated * class设置无需内层,外层即可 */ cssClass: string; isHidden: boolean; beforeChange: (currentValue: any, previousValue: any) => boolean | Promise | Observable; tabs: QueryList; activeTabChange: EventEmitter; addOrDeleteTabChange: EventEmitter; id: string; offsetIndex: number; offsetLeft: number; offsetWidth: number; scrollModeToggle: boolean; tabsWidth: any[]; ARROW_DROPDOWN_WIDTH: number; get isShowShadow(): boolean; constructor(el: ElementRef, cdr: ChangeDetectorRef); ngOnChanges(changes: SimpleChanges): void; ngAfterViewInit(): void; changeActiveSlidingBlock(): void; canChange(currentTab: number | string): Promise; select(id: number | string, callback?: Function): void; addOrDeleteTab(event: Event, id?: number | string): void; getTabsWidth(): void; scroll(direction?: string, index?: number, tab?: TabComponent, isInitScrollMode?: boolean): void; scrollIntoView(dom: HTMLElement): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }