import type { EditContext, IEditor, RectProps } from './types'; export interface TextAreaEditorConfig { readonly?: boolean; } export declare class TextAreaEditor implements IEditor { editorType: string; editorConfig: TextAreaEditorConfig; container: HTMLElement; successCallback?: () => void; element?: HTMLTextAreaElement; constructor(editorConfig?: TextAreaEditorConfig); createElement(): void; setValue(value: string): void; getValue(): string; onStart({ value, referencePosition, container, endEdit }: EditContext): void; adjustPosition(rect: RectProps): void; endEditing(): void; onEnd(): void; isEditorElement(target: HTMLElement): boolean; }