/**----------------------------------------------------------------------------------------- * 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 { ContextService } from '../common/provider.service'; import { EditService } from './edit.service'; import * as i0 from "@angular/core"; /** * Represents the command for adding a new item to the Grid. Apply this directive to any * `button` element inside a [ToolbarTemplate](https://www.telerik.com/kendo-angular-ui/components/grid/api/commandcolumncomponent). * When you click the button with this directive, the [`add`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#add) event is triggered * ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/basics)). * * @example * ```html * * ``` */ export declare class AddCommandDirective extends Button { private editService; /** * @hidden */ onClick(e: any): void; /** * @hidden */ get commandClass(): boolean; constructor(editService: EditService, element: ElementRef, renderer: Renderer, ctx: ContextService, ngZone: NgZone); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }