import { ActivityType, HTMLRenderLayer, OverlayPosition } from "../html-render-layer/html-render-layer.js";
export declare enum CommitMode {
onBlurOrEnter = "on-blur-or-enter",
onEnterOnly = "on-enter-only"
}
export declare class HTMLRenderLayerInlineEdit extends HTMLRenderLayer {
/**
* Specifies whether to automatically select all text when editing
* is initiated. If present then all text within the textarea will
* be selected otherwise it will just be given focus with the cursor
* placed at the end of the text.
*/
autoselect: boolean;
/**
* Specifies when changes to the text should be committed.
* Only on "Enter" keypress or any time the textarea loses focus.
* Default: CommitMode.onBlur
*/
commitMode: CommitMode;
layerActivityId: string;
textAreaActive: boolean;
textPosition: OverlayPosition;
textValue: string;
textAreaRef: HTMLTextAreaElement;
private currentDataId;
private originalTextValue;
private currentStyleTarget;
private currentTextNode;
private currentMinimumSize;
connectedCallback(): void;
disconnectedCallback(): void;
private handleWindowChange;
handleKeyDown(e: KeyboardEvent): boolean;
handleTextInput(e: KeyboardEvent): boolean;
handleBlur(e: InputEvent): void;
private getPositionFromElement;
private applySizeAndPositionToTextbox;
private applyStylesToTextbox;
private startEdit;
private commitEdit;
private cancelEdit;
elementActivity(layerActivityId: string, activityType: ActivityType, datadictionaryId: string, elementRef: Node, event: Event): void;
}