import { RenderInput } from "./RenderInput";
import { EditTextInfo } from "./EditTextInfo";
import { TextSelectionManager } from "./selection/TextSelectionManager";
import { RenderText, TextCursorPosition } from "../renderText";
import { Rect } from "../common";
import { GraphicNode } from "../graphics";
import { RenderManager } from "../action";
import { CursorManager } from "../cursor/CursorManager";
export declare class InputManager {
    renderInput: RenderInput;
    editTextInfo: EditTextInfo | null;
    selectionManager: TextSelectionManager;
    renderManager: RenderManager;
    constructor(renderManager: RenderManager, cursorManager: CursorManager);
    init(inputDom: HTMLInputElement, renderDom: HTMLDivElement): void;
    isEdit(): boolean;
    hasSelection(): boolean;
    private checkNeedReFocusInputDom;
    focus(editTextInfo: EditTextInfo): void;
    selection(node: GraphicNode, renderText: RenderText, originStart: TextCursorPosition, originEnd: TextCursorPosition): Rect[];
    refreshCursor(): void;
    ensureFocus(): void;
    updateCursorPos(cursorPosition: TextCursorPosition): void;
    blur(): void;
}
//# sourceMappingURL=InputManager.d.ts.map