export declare const NB_DEFAULT_ROW_LEVEL: number; export type NbDataGetter = (N: any) => T; export type NbChildrenGetter = (N: any) => (T[] | undefined); export type NbExpandedGetter = (N: any) => boolean; export interface NbGetters { dataGetter?: NbDataGetter; childrenGetter?: NbChildrenGetter; expandedGetter?: NbExpandedGetter; } /** * Implicit context of cells and rows */ export declare class NbTreeGridPresentationNode { /** * Data object associated with row */ readonly data: T; children: NbTreeGridPresentationNode[] | undefined; /** * Row expand state */ expanded: boolean; readonly level: number; constructor( /** * Data object associated with row */ data: T, children: NbTreeGridPresentationNode[] | undefined, /** * Row expand state */ expanded: boolean, level: number); /** * True if row has child rows */ hasChildren(): boolean; }