/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { CdkNestedTreeNode, CdkTree, CdkTreeNode, CdkTreeNodeDef } from '@angular/cdk/tree'; import { AfterContentInit, DoCheck, ElementRef, IterableDiffers, OnDestroy, OnInit } from '@angular/core'; import { CanDisable, HasTabIndex } from '@angular/material/core'; import { BooleanInput, NumberInput } from '@angular/cdk/coercion'; import * as ɵngcc0 from '@angular/core'; declare const _MatTreeNodeBase: import("@angular/material/core/common-behaviors/constructor").Constructor & import("@angular/material/core/common-behaviors/constructor").AbstractConstructor & import("@angular/material/core/common-behaviors/constructor").Constructor & import("@angular/material/core/common-behaviors/constructor").AbstractConstructor & typeof CdkTreeNode; /** * Wrapper for the CdkTree node with Material design styles. */ export declare class MatTreeNode extends _MatTreeNodeBase implements CanDisable, DoCheck, HasTabIndex, OnInit, OnDestroy { constructor(elementRef: ElementRef, tree: CdkTree, tabIndex: string); ngOnInit(): void; ngDoCheck(): void; ngOnDestroy(): void; static ngAcceptInputType_disabled: BooleanInput; static ngAcceptInputType_tabIndex: NumberInput; static ɵfac: ɵngcc0.ɵɵFactoryDeclaration, [null, null, { attribute: "tabindex"; }]>; static ɵdir: ɵngcc0.ɵɵDirectiveDeclaration, "mat-tree-node", ["matTreeNode"], { "role": "role"; "disabled": "disabled"; "tabIndex": "tabIndex"; }, {}, never>; } /** * Wrapper for the CdkTree node definition with Material design styles. * Captures the node's template and a when predicate that describes when this node should be used. */ export declare class MatTreeNodeDef extends CdkTreeNodeDef { data: T; static ɵfac: ɵngcc0.ɵɵFactoryDeclaration, never>; static ɵdir: ɵngcc0.ɵɵDirectiveDeclaration, "[matTreeNodeDef]", never, { "when": "matTreeNodeDefWhen"; "data": "matTreeNode"; }, {}, never>; } /** * Wrapper for the CdkTree nested node with Material design styles. */ export declare class MatNestedTreeNode extends CdkNestedTreeNode implements AfterContentInit, DoCheck, OnDestroy, OnInit { node: T; /** Whether the node is disabled. */ get disabled(): any; set disabled(value: any); private _disabled; /** Tabindex for the node. */ get tabIndex(): number; set tabIndex(value: number); private _tabIndex; constructor(elementRef: ElementRef, tree: CdkTree, differs: IterableDiffers, tabIndex: string); ngOnInit(): void; ngDoCheck(): void; ngAfterContentInit(): void; ngOnDestroy(): void; static ngAcceptInputType_disabled: BooleanInput; static ɵfac: ɵngcc0.ɵɵFactoryDeclaration, [null, null, null, { attribute: "tabindex"; }]>; static ɵdir: ɵngcc0.ɵɵDirectiveDeclaration, "mat-nested-tree-node", ["matNestedTreeNode"], { "role": "role"; "disabled": "disabled"; "tabIndex": "tabIndex"; "node": "matNestedTreeNode"; }, {}, never>; } export {}; //# sourceMappingURL=node.d.ts.map