import React from 'react'; import type { IComputationFunction, IFilterField, IRenderStatus, IRow, IViewField } from '../../interfaces'; import type { IPivotTableModel, IPivotTablePath } from './interface'; import { type PivotTableModelBuilder } from './query'; export declare function togglePivotTablePath(paths: readonly IPivotTablePath[], target: IPivotTablePath): IPivotTablePath[]; export declare function shouldRenderPivotTableModel(model: IPivotTableModel | null): boolean; export interface PivotTableCoreProps { computation: IComputationFunction; fields: readonly IViewField[]; rows: readonly IViewField[]; columns: readonly IViewField[]; filters?: readonly IFilterField[]; defaultAggregated?: boolean; folds?: readonly string[]; limit?: number; timezoneDisplayOffset?: number; showTableSummary?: boolean; numberFormat?: string; disableCollapse?: boolean; collapsedPaths?: readonly IPivotTablePath[]; defaultCollapsedPaths?: readonly IPivotTablePath[]; onCollapsedPathsChange?: (paths: IPivotTablePath[]) => void; onRenderStatusChange?: (status: IRenderStatus) => void; onError?: (error: Error) => void; emptyContent?: React.ReactNode; /** Aggregated leaf data supplied by Graphic Walker's existing renderer. */ viewData?: readonly IRow[]; /** Test and non-browser adapter for the model-building worker. */ buildModel?: PivotTableModelBuilder; } export declare const PivotTableCore: React.FC;