UNPKG

629 BTypeScriptView Raw
1// Type definitions for ag-grid v18.1.2
2// Project: http://www.ag-grid.com/
3// Definitions by: Niall Crosby <https://github.com/ag-grid/>
4import { ICellEditorComp, ICellEditorParams } from "./cellEditors/iCellEditor";
5import { ColDef } from "../entities/colDef";
6import { Promise } from "../utils";
7export declare class CellEditorFactory {
8 private context;
9 private componentResolver;
10 private gridOptionsWrapper;
11 private init();
12 addCellEditor(key: string, cellEditor: {
13 new (): ICellEditorComp;
14 }): void;
15 createCellEditor(column: ColDef, params: ICellEditorParams): Promise<ICellEditorComp>;
16}