/**-----------------------------------------------------------------------------------------
* 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 as Renderer, NgZone } from '@angular/core';
import { Button } from '@progress/kendo-angular-buttons';
import { LocalizationService } from '@progress/kendo-angular-l10n';
import { EditService } from '../edit.service';
import * as i0 from "@angular/core";
/**
* Represents the cancel command button directive of the Kendo UI ListView for Angular.
* Provides the `cancel` command of the ListView. You can apply this directive to any `button`
* element inside a [`EditTemplateDirective`](https://www.telerik.com/kendo-angular-ui/components/listview/api/edittemplatedirective) template.
* When you click an associated button with the directive, the
* [`cancel`](https://www.telerik.com/kendo-angular-ui/components/listview/api/listviewcomponent#cancel) event
* triggers ([see example](https://www.telerik.com/kendo-angular-ui/components/listview/editing)).
*
* @example
* ```html
*
*
*
*
*
* ```
*
* You can control the content of the button based on the state of the item.
*
* @example
* ```html
*
*
*
*
*
* ```
*/
export declare class CancelCommandDirective extends Button {
private editService;
private elementRef;
/**
* @hidden
*/
clickHandler(e: any): void;
constructor(editService: EditService, element: ElementRef, renderer: Renderer, localization: LocalizationService, ngZone: NgZone);
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵcmp: i0.ɵɵComponentDeclaration;
}