/**----------------------------------------------------------------------------------------- * Copyright © 2025 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]({% slug api_grid_commandcolumncomponent %}). * When you click the button with this directive, the [`add`]({% slug api_grid_gridcomponent %}#toc-add) event is triggered * ([see example]({% slug basics_editing_grid %})). * * @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; }