import { ActionRecipe } from '../../recipe/ActionRecipe';
import { EditorType } from './EditorType';
import { TargetEditor } from './TargetEditor';
declare class EditorHandler {
    private _listOfControls;
    private _editor?;
    private processorHandler;
    constructor(_listOfControls: TargetEditor[], _enableLogs: boolean, _editor?: EditorType | undefined);
    /**
     * Writes in the current editor
     * @param recipe The recipe received from the server
     */
    onFinalResult(recipe: Partial<ActionRecipe>): void;
    /**
     * Process the command in the current editor
     * @param command The command received from the server
     */
    onCommandResult(command: Partial<ActionRecipe>): void;
    /**
     * To set selected editor for text anchoring
     * @param activeEditor The editor selected for anchoring
     */
    onSetAnchoredEditor(activeEditor: Element | undefined, editorName: string | null): void;
    handleDynamicFieldNavigation(recipe: Partial<ActionRecipe>): void;
    handleGotoDocumentEnd(): void;
    getCursorPosition(): any;
    setCursorAtPosition(position: number): void;
    /**
     *Intercepts common commands  (independent from editors)
     * @param command The command received from the server
     * @param activeEditor The current focused editor
     */
    private interfaceSharedCommand;
}
export { EditorHandler };
