/**-----------------------------------------------------------------------------------------
* 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, DoCheck } from '@angular/core';
import { Button } from '@progress/kendo-angular-buttons';
import { EditService } from './edit.service';
import { CellContext } from '../rendering/common/cell-context';
import { ContextService } from '../common/provider.service';
import * as i0 from "@angular/core";
/**
* Represents the `cancel` command of the Grid. Apply this directive to any `button`
* element inside a [CommandColumnComponent](https://www.telerik.com/kendo-angular-ui/components/grid/api/commandcolumncomponent)
* ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/basics#editing-action-buttons)).
*
* When a button with this directive is clicked, the
* [`cancel`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#cancel) event
* is triggered. If the row is not in edit mode, the button is automatically hidden.
*
* You can customize the button content based on the row's state.
*
* @example
* ```html
*
*
*
*
*
*
*
* ```
*/
export declare class CancelCommandDirective extends Button implements DoCheck {
private editService;
private cellContext;
rowIndex: number;
protected isEdited: boolean;
/**
* @hidden
*/
get visible(): string;
/**
* @hidden
*/
commandClass: boolean;
/**
* @hidden
*/
onClick(e: any): void;
constructor(editService: EditService, cellContext: CellContext, element: ElementRef, renderer: Renderer, ctx: ContextService, ngZone: NgZone);
ngDoCheck(): void;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵcmp: i0.ɵɵComponentDeclaration;
}