import * as React from 'react';
import { ICellEditorComp, ICellEditorParams } from 'ag-grid-enterprise';
export declare function getStartValue(params: ICellEditorParams): any;
/**
 * Adaptable number editor parameters extending the AG Grid {@link ICellEditorParams}.
 */
export interface AdaptableNumberCellEditorParams extends ICellEditorParams {
    /**
     * Whether to show the clear button. If `true`, it works together with `cellEditorParams.emptyValue`
     * @defaultValue true
     */
    showClearButton: boolean;
    /**
     * Value to set for the cell, when the clear button is pressed
     * @defaultValue '' (empty string)
     */
    emptyValue: string;
    onValueChange: (value: any) => void;
}
export declare const AdaptableReactNumberEditor: React.ForwardRefExoticComponent<AdaptableNumberCellEditorParams & React.RefAttributes<unknown>>;
/**
 * Number Editor provided by AdapTable and used by default for all `number` columns
 */
export declare class AdaptableNumberEditor implements ICellEditorComp {
    private value;
    private columnId;
    private el;
    private params;
    private editor;
    private valueParser;
    private unmountReactRoot?;
    init(params: AdaptableNumberCellEditorParams): void;
    getGui(): HTMLDivElement;
    getValue(): any;
    focusIn(): void;
    focusOut(): void;
    afterGuiAttached(): void;
    destroy(): void;
    private onValueChange;
}
