import { TemplateRef } from '@angular/core'; import * as i0 from "@angular/core"; /** Context provided to the tree node component. */ export declare class KbqTreeNodeOutletContext { /** Data for the node. */ $implicit: T; /** Depth of the node. */ level: number; /** Index location of the node. */ index?: number; /** Length of the number of total dataNodes. */ count?: number; constructor(data: T); } /** * Data node definition for the KbqTree. * Captures the node's template and a when predicate that describes when this node should be used. */ export declare class KbqTreeNodeDef { template: TemplateRef; data: T; /** * Function that should return true if this node template should be used for the provided node * data and index. If left undefined, this node will be considered the default node template to * use when no other when functions return true for the data. * For every node, there must be at least one when function that passes or an undefined to * default. */ when: (index: number, nodeData: T) => boolean; /** @docs-private */ constructor(template: TemplateRef); static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, "[kbqTreeNodeDef]", never, { "when": { "alias": "kbqTreeNodeDefWhen"; "required": false; }; "data": { "alias": "kbqTreeNode"; "required": false; }; }, {}, never, never, true, never>; }