import { AfterViewInit, ViewContainerRef } from "@angular/core"; import { ICellEditorAngularComp } from "ag-grid-angular"; import { ICellEditorParams } from "ag-grid-community"; /** * src: https://www.ag-grid.com/angular-data-grid/component-cell-editor/ */ export declare class NumericAGCellEditor implements ICellEditorAngularComp, AfterViewInit { private params; value: number; highlightAllOnFocus: boolean; private cancelBeforeStart; input: ViewContainerRef; agInit(params: ICellEditorParams): void; setInitialState(params: any): void; getValue(): any; isCancelBeforeStart(): boolean; onKeyDown(event: any): void; ngAfterViewInit(): void; private isCharNumeric; /** * Check that a maximum of 1 decimal point has been entered * src: https://stackoverflow.com/questions/57340866/how-to-input-decimal-numbers-in-ag-grid-cells#:~:text=Add%20this%20function%20(where%20this.eInput%20is%20your%20html%20input)%3A * @param charStr */ isCharTheFirstDecimal(charStr: any): boolean; private isKeyPressedNumeric; private isBackspace; private isLeftOrRight; private finishedEditingPressed; }