/**----------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { ElementRef, Renderer2, NgZone } from '@angular/core'; import { LocalizationService } from '@progress/kendo-angular-l10n'; import { EditService } from './edit.service'; import { BaseCommandDirective } from './base-command.directive'; import * as i0 from "@angular/core"; /** * Represents the `cancel` command of the TreeList. Apply this directive to any `button` element inside a [`CommandColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/commandcolumncomponent). * * When the user clicks a button with this directive, the [`cancel`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#cancel) event is triggered ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/custom-editors)). * * The button with `kendoTreeListCancelCommand` is automatically hidden when the row is not in edit mode. The directive takes the `cellContext` from the cell template as input. * * @example * ```html * * * * * * * * ``` */ export declare class CancelCommandDirective extends BaseCommandDirective { /** * Provides the `cellContext` to the template. */ cellContext: any; commandClass: boolean; protected readVisible: boolean; constructor(editService: EditService, element: ElementRef, renderer: Renderer2, localization: LocalizationService, ngZone: NgZone); protected onClick(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }