import { ICommandService, IContextService, IUndoRedoService, IUniverInstanceService, RxDisposable } from '@univerjs/core';
import { TextSelectionManagerService } from '@univerjs/docs';
import { IRenderManagerService } from '@univerjs/engine-render';
import { RangeProtectionRuleModel, WorksheetProtectionRuleModel } from '@univerjs/sheets';
import { IEditorBridgeService } from '../../services/editor-bridge.service';
import { IFormulaEditorManagerService } from '../../services/editor/formula-editor-manager.service';
export declare class FormulaEditorController extends RxDisposable {
    private readonly _univerInstanceService;
    private readonly _renderManagerService;
    private readonly _editorBridgeService;
    private readonly _commandService;
    private readonly _contextService;
    private readonly _formulaEditorManagerService;
    private readonly _undoRedoService;
    private readonly _textSelectionManagerService;
    private readonly _rangeProtectionRuleModel;
    private readonly _worksheetProtectionRuleModel;
    private _loadedMap;
    constructor(_univerInstanceService: IUniverInstanceService, _renderManagerService: IRenderManagerService, _editorBridgeService: IEditorBridgeService, _commandService: ICommandService, _contextService: IContextService, _formulaEditorManagerService: IFormulaEditorManagerService, _undoRedoService: IUndoRedoService, _textSelectionManagerService: TextSelectionManagerService, _rangeProtectionRuleModel: RangeProtectionRuleModel, _worksheetProtectionRuleModel: WorksheetProtectionRuleModel);
    private _initialize;
    private _create;
    private _listenFxBtnClick;
    private _listenFoldBtnClick;
    private _initialMain;
    private _syncEditorSize;
    private _scheduledCallback;
    private _clearScheduledCallback;
    private _syncFormulaEditorContent;
    private _editorSyncHandler;
    private _commandExecutedListener;
    private _syncActionsAndRender;
    private _syncContentAndRender;
    private _checkAndSetRenderStyleConfig;
    private _clearParagraph;
    private _autoScroll;
    private _getEditorViewModel;
}
