import type { PivotView } from '@univerjs-pro/engine-pivot'; import type { Nullable } from '@univerjs/core'; import type { IPivotBlockedRange, IPivotCellPositionInfo, IPivotRangesInfo, IPivotTableCellData } from '../const/type'; import { DateSystem, ObjectMatrix } from '@univerjs/core'; export interface IViewTranslateCtx { view: Nullable; pivotTableId: string; isEmpty: boolean; targetCellInfo: IPivotCellPositionInfo; textInfo: Record; direction?: 'ltr' | 'rtl'; dateSystem?: DateSystem; } interface IViewTranslateResult { matrix: ObjectMatrix>; rangesCache: IPivotRangesInfo; } export declare function getBlockedPivotOutput({ row, col }: IPivotCellPositionInfo, blocker: IPivotBlockedRange): IViewTranslateResult; export declare const adjustViewForCalcEngine: (ctx: IViewTranslateCtx) => IViewTranslateResult; export {};