import * as React from 'react';
import { ICellEditorComp, ICellEditorParams } from 'ag-grid-enterprise';
import { IAdaptable } from '../../../AdaptableInterfaces/IAdaptable';
/**
 * Params used by the AdapTable Date Editor
 */
export interface AdaptableDateEditorParams extends ICellEditorParams {
    onValueChange?: (value: any) => void;
}
export declare const AdaptableReactDateEditor: React.ForwardRefExoticComponent<AdaptableDateEditorParams & React.RefAttributes<unknown>>;
/**
 * Used by default for all `date` columns.
 *
 *
 * When the colDef has a `valueParser` provided as a function, it will be used before setting the value for the cell.
 * This is useful because dates can be stored as strings, numbers or Date instances - the value parser will be called with a `Date` instance,
 * and it's your responsibility to transform that to whatever format you want to use for persisting it to the grid.
 *
 * We strongly recommend you specify a `colDef.valueParser` function
 */
export declare class AdaptableDateEditor implements ICellEditorComp {
    private value;
    private el;
    private params;
    private editor;
    private unmountReactRoot?;
    private valueParser;
    init(params: ICellEditorParams): void;
    getGui(): HTMLDivElement;
    getValue(): any;
    focusIn(): void;
    focusOut(): void;
    getAdaptableInstance(params: ICellEditorParams): IAdaptable;
    afterGuiAttached(): void;
    destroy(): void;
}
