import { IterableDiffers, OnChanges, SimpleChanges, TemplateRef } from '@angular/core'; import { NbCellDefDirective, NbFooterCellDefDirective, NbHeaderCellDefDirective } from '../cdk/table/cell'; import { NbFooterRowDefDirective, NbHeaderRowDefDirective, NbRowDefDirective } from '../cdk/table/row'; import { NbColumnsService } from './tree-grid-columns.service'; import * as i0 from "@angular/core"; export interface NbTreeGridResponsiveRowDef { hideColumn(column: string): any; showColumn(column: string): any; } /** * Data row definition for the tree-grid. * Captures the header row's template and columns to display. */ export declare class NbTreeGridRowDefDirective extends NbRowDefDirective implements OnChanges, NbTreeGridResponsiveRowDef { private columnsService; /** * Columns to be displayed on this row */ columns: Iterable; constructor(template: TemplateRef, differs: IterableDiffers, columnsService: NbColumnsService); ngOnChanges(changes: SimpleChanges): void; updateColumns(columns: Iterable): void; getVisibleColumns(): Iterable; /** @docs-private */ hideColumn(column: string): void; /** @docs-private */ showColumn(column: string): void; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, "[nbTreeGridRowDef]", never, { "columns": { "alias": "nbTreeGridRowDefColumns"; "required": false; }; }, {}, never, never, false, never>; } export declare class NbTreeGridHeaderRowDefDirective extends NbHeaderRowDefDirective implements OnChanges, NbTreeGridResponsiveRowDef { private columnsService; /** * Columns to be displayed on this row */ columns: Iterable; constructor(template: TemplateRef, differs: IterableDiffers, columnsService: NbColumnsService); ngOnChanges(changes: SimpleChanges): void; updateColumns(columns: Iterable): void; getVisibleColumns(): Iterable; /** @docs-private */ hideColumn(column: string): void; /** @docs-private */ showColumn(column: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class NbTreeGridFooterRowDefDirective extends NbFooterRowDefDirective implements OnChanges, NbTreeGridResponsiveRowDef { private columnsService; /** * Columns to be displayed on this row */ columns: Iterable; constructor(template: TemplateRef, differs: IterableDiffers, columnsService: NbColumnsService); ngOnChanges(changes: SimpleChanges): void; updateColumns(columns: Iterable): void; getVisibleColumns(): Iterable; /** @docs-private */ hideColumn(column: string): void; /** @docs-private */ showColumn(column: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * Cell definition for a nb-table. * Captures the template of a column's data row cell as well as cell-specific properties. */ export declare class NbTreeGridCellDefDirective extends NbCellDefDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * Header cell definition for the nb-table. * Captures the template of a column's header cell and as well as cell-specific properties. */ export declare class NbTreeGridHeaderCellDefDirective extends NbHeaderCellDefDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * Footer cell definition for the nb-table. * Captures the template of a column's footer cell and as well as cell-specific properties. */ export declare class NbTreeGridFooterCellDefDirective extends NbFooterCellDefDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }