import { ListDataValidator, OnesTable } from '../../../../@ones-table/common';
import { GC } from '../../../../@ones-table/core';
import './drop-list-editor.scss';
export default class DropListEditor {
    private table;
    private _content;
    private _radioCustom;
    private _radioSheet;
    private _list;
    private _multiList;
    private _colorItem;
    private _rangeSelect;
    private _sheet;
    private _range;
    private _sortable;
    private _listContainer;
    private _colorPicker;
    private _oldDv;
    private _updateValue;
    private _extendRange;
    constructor(table: OnesTable);
    destroy(): void;
    update(sheet: GC.Spread.Sheets.Worksheet, range: GC.Spread.Sheets.Range): void;
    root(): HTMLElement;
    removeList: () => void;
    apply(ranges: GC.Spread.Sheets.Range[]): boolean;
    getUpdateListOptions(): {
        changeValue: boolean;
        extendRanges: boolean;
        valueMap: Map<any, any>;
    };
    getDataValidator: () => ListDataValidator | null;
    getItemsValueMap(): Map<string, string>;
    private updateList;
    private createItem;
    private getItems;
    private handleSourceChange;
    private handleItemTextChange;
    private handleChangeItemColor;
    private handleItemColorChanged;
    private handleNewItem;
    private handleDeleteItem;
    private handleSetColorItem;
    private handleDragStart;
    private handleDragEnd;
    private handleReload;
}
