import { INestNode } from './interface'; import { IField, IRow } from '../../interfaces'; import React from 'react'; declare class PivotTableStore { leftTree: INestNode | null; topTree: INestNode | null; metricTable: any[][]; dataSource: IRow[]; metas: IField[]; viewData: IRow[]; constructor(); init(dataSource: IRow[], metas: IField[]): void; } export interface PivotTableDataProps { data: IRow[]; metas: IField[]; children?: React.ReactNode | Iterable; } export declare const PivotTableStoreWrapper: React.FC; export declare function usePivotTableStore(): PivotTableStore; export {};