import { AutocompleteEditor } from '../autocompleteEditor'; import type { CellProperties } from '../../settings'; export declare const EDITOR_TYPE = "dropdown"; /** * @private * @class DropdownEditor */ export declare class DropdownEditor extends AutocompleteEditor { /** * Returns the unique editor type identifier for the dropdown editor. */ static get EDITOR_TYPE(): string; /** * @param {number} row The visual row index. * @param {number} col The visual column index. * @param {number|string} prop The column property (passed when datasource is an array of objects). * @param {HTMLTableCellElement} td The rendered cell element. * @param {*} value The rendered value. * @param {object} cellProperties The cell meta object (see {@link Core#getCellMeta}). */ prepare(row: number, col: number, prop: string | number, td: HTMLTableCellElement, value: unknown, cellProperties: CellProperties): void; /** * Finishes editing and start saving or restoring process for editing cell or last selected range. * * @param {boolean} restoreOriginalValue If true, then closes editor without saving value from the editor into a cell. * @param {boolean} ctrlDown If true, then saveValue will save editor's value to each cell in the last selected range. * @param {Function} callback The callback function, fired after editor closing. */ finishEditing(restoreOriginalValue?: boolean, ctrlDown?: boolean, callback?: () => void): void; }