import * as i0 from '@angular/core'; import { OnInit, EventEmitter, ChangeDetectorRef } from '@angular/core'; import { DataSource } from '@angular/cdk/collections'; import { BehaviorSubject, Observable } from 'rxjs'; import * as i1 from '@angular/common'; import * as i2 from '@angular/cdk/table'; import * as i3 from '@angular/cdk/scrolling'; /** Dynamic table column definition consisting of key, title and type properties. */ interface NxDynamicTableColumnDefinition { /** Column data property name. */ key: string; /** Column display name. */ title: string; /** Column display type. Defaults to 'string'. */ type?: 'string' | 'numeric'; /** Add custom column header cell styles. */ headerCellStyle?: { [prop: string]: any; }; /** Add custom column header cell class. */ headerCellClass?: string; /** Add custom column cell styles. */ cellStyle?: { [prop: string]: any; }; /** Add custom column cell class. */ cellClass?: string; } declare class NxDynamicTableDataSource extends DataSource { private readonly _datachange; constructor(_datachange: BehaviorSubject); /** @docs-private Connect function called by the table to retrieve one stream containing the data to render. */ connect(): Observable; /** @docs-private */ disconnect(): void; } declare class NxDynamicTableComponent implements OnInit { private readonly _cdr; private readonly _dataChange; private _dataSource; private _columnKeys; /** Sets the data that it will show in the table. */ set data(value: any[]); get data(): any[]; private _data; /** Sets the name order and type of columns. */ set displayedColumns(value: NxDynamicTableColumnDefinition[] | undefined); get displayedColumns(): NxDynamicTableColumnDefinition[] | undefined; private _displayedColumns; /** An event is dispatched when a row is clicked. */ readonly rowClick: EventEmitter; /** @docs-private */ get dataSource(): NxDynamicTableDataSource; /** @docs-private */ get columnKeys(): string[]; constructor(_cdr: ChangeDetectorRef); ngOnInit(): void; /** @docs-private */ handleRowClick(row: object): void; /** @docs-private */ isNumeric(column: NxDynamicTableColumnDefinition): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NxDynamicTableModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { NxDynamicTableComponent, NxDynamicTableModule }; export type { NxDynamicTableColumnDefinition };