import { type GridState } from '../../core/grid/index.js'; import type { ColumnDef, RowNode } from '../../core/types/index.js'; import type { Aggregation } from '../grouping/grouping.types.js'; import { type Crossing } from './pivot-crossing.js'; import type { PivotMeasure } from './pivot.types.js'; export declare function share(value: unknown, whole: unknown): unknown; export interface MeasureShape { grid: GridState; values: PivotMeasure[]; columnDefs: ColumnDef[]; crossing: Crossing; onRows: boolean; totalColumn: string | undefined; columnSubtotal: ((header: string) => string) | undefined; warnRunning: () => void; } export declare function crossingMeasures(all: RowNode[], shape: MeasureShape): Record>[];