import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
import { TemplateEntity, TemplateParamEntity } from '@memberjunction/core-entities';
import { GridComponent, AddEvent, EditEvent, CancelEvent, SaveEvent, RemoveEvent } from '@progress/kendo-angular-grid';
import { FormGroup } from '@angular/forms';
import * as i0 from "@angular/core";
export declare class TemplateParamsGridComponent implements OnInit, OnChanges {
    template: TemplateEntity | null;
    editMode: boolean;
    grid: GridComponent;
    templateParams: TemplateParamEntity[];
    isLoading: boolean;
    editedRowIndex: number | undefined;
    editedParam: TemplateParamEntity | null;
    formGroup: FormGroup | undefined;
    typeOptions: {
        text: string;
        value: string;
    }[];
    constructor();
    ngOnInit(): void;
    ngOnChanges(changes: SimpleChanges): void;
    loadTemplateParams(): Promise<void>;
    addHandler(args: AddEvent): void;
    editHandler(args: EditEvent): void;
    cancelHandler(args: CancelEvent): void;
    saveHandler(args: SaveEvent): Promise<void>;
    removeHandler(args: RemoveEvent): Promise<void>;
    private createFormGroup;
    private closeEditor;
    private createNewParam;
    isInEditMode(rowIndex: number): boolean;
    getTypeIcon(type: string): string;
    getTypeDescription(type: string): string;
    static ɵfac: i0.ɵɵFactoryDeclaration<TemplateParamsGridComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<TemplateParamsGridComponent, "mj-template-params-grid", never, { "template": { "alias": "template"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; }, {}, never, never, false, never>;
}
//# sourceMappingURL=template-params-grid.component.d.ts.map