import { OnDestroy } from '@angular/core'; import { Observable, Subscription } from 'rxjs'; import { DataService, DataSource } from '../shared/data.service'; export declare class MainComponent implements OnDestroy { /** * Data sources observable */ dataSources: Observable; /** * Data subscription for the data-sources */ dataSubscription: Subscription; /** * Boolean to show initial info message in the data view */ showDataViewMessage: boolean; constructor(dataService: DataService); /** * Gets padding according to the level of hierarchy of the data table * @param level level in hierarchy of the data table * @returns a padding value in rems */ getPadding(level: number): number; /** * on destroy lifecycle hook */ ngOnDestroy(): void; }