import * as i0 from '@angular/core'; import { OnInit, OnDestroy } from '@angular/core'; import * as i3 from '@progress/kendo-angular-grid'; import { EditEvent, CancelEvent, SaveEvent, RemoveEvent, AddEvent, GridComponent } from '@progress/kendo-angular-grid'; import { FormGroup } from '@angular/forms'; import { BehaviorSubject, Observable } from 'rxjs'; import { SortDescriptor } from '@progress/kendo-data-query'; import { IdType } from 'imng-nrsrx-client-utils'; import { Subscriptions, Subscribable } from 'imng-ngrx-utils'; import * as i2 from '@angular/common'; declare class GridDataEntryHelper { private readonly formGroupFactory; private _gridData; private readonly preSaveLogic; private _editedRowIndex; private _gridFormGroup; private readonly _gridData$; sortDescriptors$: BehaviorSubject; readonly subscriptions: Subscriptions; get gridFormGroup(): FormGroup | undefined; get gridData$(): Observable>; get gridData(): Array; set gridData(value: Array); get isInEditMode(): boolean; get isValid(): boolean; get isValid$(): Observable; constructor(formGroupFactory: () => FormGroup, _gridData?: TENTITY[], preSaveLogic?: (entity: TENTITY) => Observable | void); addItems(...items: TENTITY[]): TENTITY[]; removeItems(...items: TENTITY[]): TENTITY[]; clearData(): void; editHandler(editEvent: EditEvent): void; private closeEditor; cancelHandler(cancelEvent: CancelEvent): void; saveHandler(saveEvent: SaveEvent): void; updateRecord(record: TENTITY, saveEvent: SaveEvent): void; removeHandler(removeEvent: RemoveEvent): void; sortHandler(sortDescriptors: SortDescriptor[]): void; addHandler(addEvent: AddEvent): void; gridValidationLogic(_data: Array): boolean; } declare class IMNG_KENDO_EDITABLE_GRID implements OnInit, OnDestroy, Subscribable { readonly gridComponent: GridComponent; readonly allSubscriptions: Subscriptions; _gridDataEntryHelper?: GridDataEntryHelper<{ id?: IdType; }>; get gridDataEntryHelper(): GridDataEntryHelper<{ id?: IdType; }> | undefined; set gridDataEntryHelper(value: GridDataEntryHelper<{ id?: IdType; }> | undefined); ngOnInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class ImngKendoGridEditableModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { GridDataEntryHelper, IMNG_KENDO_EDITABLE_GRID, ImngKendoGridEditableModule };