import { selectorChartRotationAxis, selectorChartSeriesProcessed, selectorChartXAxis } from '@mui/x-charts/internals'; import type { ProcessedSeries } from '@mui/x-charts/internals'; import type { ChartExcelTable, ResolvedChartExcelOptions } from "./chartExcelData.types.js"; import type { AxisGetter } from "./extractors/index.js"; type SeriesState = Parameters[0]; type CartesianState = Parameters[0]; type PolarState = Parameters[0]; /** * The chart store state this needs. Both axis plugins are optional: a polar chart does * not register the cartesian one and vice versa. */ export type ChartExcelSourceState = SeriesState & Partial & Partial; export interface CollectChartExcelTablesParams { processedSeries: ProcessedSeries; getXAxis: AxisGetter; getYAxis: AxisGetter; getRotationAxis: AxisGetter; getRadiusAxis: AxisGetter; options: ResolvedChartExcelOptions; } /** * Runs each series type's extractor and merges the results. * * Tables sharing an id are merged, so a chart with bar and line series produces a single * `category` table while bar and scatter produce two. */ export declare function collectChartExcelTables(params: CollectChartExcelTablesParams): ChartExcelTable[]; /** * Turns a chart store snapshot into tidy tables, one row per data point. */ export declare function getChartExcelTables(state: ChartExcelSourceState, options?: ResolvedChartExcelOptions): ChartExcelTable[]; export {};