import { PivotView } from '@univerjs-pro/engine-pivot';
import { Nullable, ObjectMatrix } from '@univerjs/core';
import { IPivotCellPositionInfo, IPivotRangesInfo, IPivotTableCellData } from '../const/type';
export interface IViewTranslateCtx {
    view: Nullable<PivotView>;
    pivotTableId: string;
    isEmpty: boolean;
    targetCellInfo: IPivotCellPositionInfo;
    textInfo: Record<string, string>;
}
interface IViewTranslateResult {
    matrix: ObjectMatrix<Nullable<IPivotTableCellData>>;
    rangesCache: IPivotRangesInfo;
}
export declare const adjustViewForCalcEngine: (ctx: IViewTranslateCtx) => IViewTranslateResult;
export {};
