import { QueryList, TemplateRef, EventEmitter, AfterContentChecked } from '@angular/core'; export declare class TabTitleDirective { templateRef: TemplateRef; constructor(templateRef: TemplateRef); } export declare class TabContentDirective { templateRef: TemplateRef; constructor(templateRef: TemplateRef); } export declare class TabDirective implements AfterContentChecked { /** * Unique tab identifier. Must be unique for the entire document for proper accessibility support. */ id: string; /** * Simple (string only) title. Use the "TabDirective" directive for more complex use-cases. */ title: string; /** * Allows toggling disabled state of a given state. Disabled tabs can't be selected. */ disabled: boolean; titleTpl: TabTitleDirective | null; contentTpl: TabContentDirective | null; titleTpls: QueryList; contentTpls: QueryList; ngAfterContentChecked(): void; } /** * The payload of the change event fired right before the tab change */ export interface TabChangeEvent { /** * Id of the currently active tab */ activeId: string; /** * Id of the newly selected tab */ nextId: string; /** * Function that will prevent tab switch if called */ preventDefault: () => void; } /** * A component that makes it easy to create tabbed interface. */ export declare class TabsetComponent implements AfterContentChecked { tabs: QueryList; /** * An identifier of an initially selected (active) tab. Use the "select" method to switch a tab programmatically. */ activeId: string; /** * Whether the closed tabs should be hidden without destroying them */ destroyOnHide: boolean; /** * A tab change event fired right before the tab selection happens. See TabChangeEvent for payload details */ tabChange: EventEmitter; constructor(); /** * Selects the tab with the given id and shows its associated pane. * Any other tab that was previously selected becomes unselected and its associated pane is hidden. */ select(tabId: string): void; ngAfterContentChecked(): void; private _getTabById(id); }