import { DataSource } from '@angular/cdk/table'; import { MatSort } from '@angular/material'; import { Observable } from 'rxjs/Observable'; import { TableDatabase, TableModel } from './index'; export declare class TableDataSource extends DataSource { private _database; private _model; private _sort; filter: string; private _filterChange; constructor(_database: TableDatabase, _model: TableModel, _sort: MatSort); /** Connect function called by the table to retrieve one stream containing the data to render. */ connect(): Observable; disconnect(): void; getFilteredData(data: any): any[]; getSortedData(data: any): any[]; }