import { Workbook, Disposable, ICommandService, Injector, InterceptorManager, ThemeService } from '@univerjs/core';
import { IRenderContext, IRenderModule } from '@univerjs/engine-render';
import { SheetInterceptorService, SheetsSelectionsService } from '@univerjs/sheets';
import { SheetScrollManagerService } from '../../services/scroll-manager.service';
import { SheetSkeletonManagerService } from '../../services/sheet-skeleton-manager.service';
export declare const FREEZE_PERMISSION_CHECK: import('@univerjs/core').IInterceptor<boolean, null>;
export declare class HeaderFreezeRenderController extends Disposable implements IRenderModule {
    private readonly _context;
    private readonly _sheetSkeletonManagerService;
    private readonly _commandService;
    private readonly _selectionManagerService;
    private readonly _scrollManagerService;
    private readonly _themeService;
    private _sheetInterceptorService;
    private _injector;
    private _rowFreezeHeaderRect;
    private _rowFreezeMainRect;
    private _columnFreezeHeaderRect;
    private _columnFreezeMainRect;
    private _freezeDownSubs;
    private _freezePointerEnterSubs;
    private _freezePointerLeaveSubs;
    private _scenePointerMoveSub;
    private _scenePointerUpSub;
    private _changeToRow;
    private _changeToColumn;
    private _changeToOffsetX;
    private _changeToOffsetY;
    private _activeViewport;
    private _freezeNormalHeaderColor;
    private _freezeNormalMainColor;
    private _freezeActiveColor;
    private _freezeHoverColor;
    private _lastFreeze;
    interceptor: InterceptorManager<{
        FREEZE_PERMISSION_CHECK: import('@univerjs/core').IInterceptor<boolean, null>;
    }>;
    constructor(_context: IRenderContext<Workbook>, _sheetSkeletonManagerService: SheetSkeletonManagerService, _commandService: ICommandService, _selectionManagerService: SheetsSelectionsService, _scrollManagerService: SheetScrollManagerService, _themeService: ThemeService, _sheetInterceptorService: SheetInterceptorService, _injector: Injector);
    dispose(): void;
    private _initialize;
    private _createFreeze;
    private _eventBinding;
    private _getCurrentLastVisible;
    private _getActiveViewport;
    private _freezeDown;
    private _getViewports;
    private _bindViewportScroll;
    private _updateViewport;
    /**
     * When switching sheet tabs, it is necessary to update the frozen state of the current view.
     */
    private _skeletonListener;
    private _refreshCurrent;
    private _themeChangeListener;
    private _themeChange;
    private _interceptorCommands;
    private _commandExecutedListener;
    private _zoomRefresh;
    private _clearObserverEvent;
    private _clearFreeze;
    private _getPositionByIndex;
    private _getFreeze;
    private _getSheetObject;
    /**
     * 调整冻结 & 缩放都会进入
     * 但是窗口 resize 并不会进入
     * @param startRow
     * @param startColumn
     * @param ySplit
     * @param xSplit
     * @param resetScroll
     */
    private _refreshFreeze;
}
