import type { CellAddress, EditContext, IEditor, PrepareEditContext, RectProps } from './types'; import type { ValidateEnum } from './types'; export interface InputEditorConfig { readonly?: boolean; } export declare class InputEditor implements IEditor { editorType: string; editorConfig: InputEditorConfig; container: HTMLElement; successCallback?: () => void; element?: HTMLInputElement; table?: any; col?: number; row?: number; protected eventHandlers: Array<{ type: string; handler: EventListener; }>; constructor(editorConfig?: InputEditorConfig); getInputElement(): HTMLInputElement; createElement(): void; setValue(value: string): void; getValue(): string; prepareEdit({ referencePosition, container, table, col, row }: PrepareEditContext): void; onStart({ value, referencePosition, container, endEdit, table, col, row }: EditContext): void; adjustPosition(rect: RectProps): void; endEditing(): void; onEnd(): void; isEditorElement(target: HTMLElement): boolean; validateValue(newValue?: any, oldValue?: any, position?: CellAddress, table?: any): boolean | ValidateEnum; }