import * as VTable from '@visactor/vtable';
export declare class EventManager {
    private table;
    private expandedRows;
    private originalResize;
    private eventHandlers;
    private allExpandedRowsBeforeMove;
    private isCleanedUp;
    constructor(table: VTable.ListTable);
    bindEventHandlers(): void;
    private wrapTableResizeMethod;
    handleAfterUpdateCellContentWidth(eventData: {
        col: number;
        row: number;
        cellHeight: number;
        cellGroup: any;
        padding: [number, number, number, number];
        textBaseline: CanvasTextBaseline;
    }): void;
    private fixCustomMergeCellTextPosition;
    private isCustomMergeCell;
    handleAfterUpdateSelectBorderHeight(eventData: {
        startRow: number;
        endRow: number;
        currentHeight: number;
        selectComp: {
            rect: any;
            fillhandle?: any;
            role: string;
        };
    }): void;
    executeMasterDetailBeforeSort(): void;
    executeMasterDetailAfterSort(): void;
    getExpandedRows(): number[];
    setExpandedRows(rows: number[]): void;
    addExpandedRow(rowIndex: number): void;
    removeExpandedRow(rowIndex: number): void;
    isRowExpanded(rowIndex: number): boolean;
    private bindTreeHierarchyStateChange;
    private getRecordByRowIndex;
    private bindRowMoveEvents;
    cleanup(): void;
    private onUpdateSubTablePositions?;
    private onUpdateSubTablePositionsForRow?;
    private onExpandRow?;
    private onCollapseRow?;
    private onCollapseRowToNoRealRecordIndex?;
    private onToggleRowExpand?;
    private getOriginalRowHeight?;
    setCallbacks(callbacks: {
        onUpdateSubTablePositions?: () => void;
        onUpdateSubTablePositionsForRow?: () => void;
        onExpandRow?: (rowIndex: number, colIndex?: number) => void;
        onCollapseRow?: (rowIndex: number, colIndex?: number) => void;
        onCollapseRowToNoRealRecordIndex?: (rowIndex: number) => void;
        onToggleRowExpand?: (rowIndex: number, colIndex?: number) => void;
        getOriginalRowHeight?: (bodyRowIndex: number) => number;
    }): void;
}
