import React from 'react';
import { RenderElementProps } from 'slate-react';
/**
 * @fileoverview 图表插件主入口文件
 *
 * 该文件提供了完整的图表功能，包括：
 * - 多种图表类型的组件（饼图、柱状图、折线图、面积图等）
 * - 图表渲染和配置功能
 * - 数据处理和格式化工具
 * - 图表属性工具栏
 * - 图表标记和容器组件
 *
 * @author md-editor
 * @version 1.0.0
 * @since 2024
 */
export { ChartAttrToolBar } from './ChartAttrToolBar';
export * from './ChartMark';
export { ChartRender } from './ChartRender';
export { default as AreaChart } from './AreaChart';
export { default as BarChart } from './BarChart';
export { default as BoxPlotChart } from './BoxPlotChart';
export { default as ChartStatistic } from './ChartStatistic';
export { default as DonutChart } from './DonutChart';
export { default as FunnelChart } from './FunnelChart';
export { default as HistogramChart } from './HistogramChart';
export { default as LineChart } from './LineChart';
export { default as RadarChart } from './RadarChart';
export { default as ScatterChart } from './ScatterChart';
export type { AreaChartConfigItem, AreaChartDataItem, AreaChartProps, } from './AreaChart';
export type { BarChartConfigItem, BarChartDataItem, BarChartProps, } from './BarChart';
export type { BoxPlotChartDataItem, BoxPlotChartProps } from './BoxPlotChart';
export type { ChartStatisticClassNames, ChartStatisticProps, ChartStatisticStyles, } from './ChartStatistic';
export type { DonutChartConfig, DonutChartData, DonutChartProps, } from './DonutChart';
export type { FunnelChartDataItem, FunnelChartProps } from './FunnelChart';
export type { HistogramChartDataItem, HistogramChartProps, } from './HistogramChart';
export type { LineChartConfigItem, LineChartDataItem, LineChartProps, } from './LineChart';
export type { RadarChartDataItem } from './RadarChart';
export type { ScatterChartDataItem, ScatterChartProps } from './ScatterChart';
export { defaultColorList } from './const';
export { debounce as chartDebounce, stringFormatNumber } from './utils';
export type { ChartClassNames, ChartStyles, ClassNameType, } from './types/classNames';
export { ChartFilter, ChartToolBar, downloadChart } from './components';
export type { ChartFilterProps, ChartToolBarProps, FilterOption, RegionOption, } from './components';
/**
 * ChartElement 组件 - 图表元素组件
 *
 * 该组件用于在Markdown编辑器中渲染图表，支持多种图表类型和数据处理。
 * 提供图表配置、数据转换、错误处理等功能。
 *
 * @component
 * @description 图表元素组件，在编辑器中渲染各种类型的图表
 * @param {RenderElementProps} props - 组件属性
 * @param {Object} props.element - 图表元素数据
 * @param {Object} props.attributes - 元素属性
 * @param {React.ReactNode} props.children - 子元素
 *
 * @example
 * ```tsx
 * <ChartElement
 *   element={chartElement}
 *   attributes={attributes}
 *   children={children}
 * />
 * ```
 *
 * @returns {React.ReactElement} 渲染的图表元素组件
 *
 * @remarks
 * - 支持多种图表类型（饼图、柱状图、折线图、面积图等）
 * - 提供数据格式转换功能
 * - 支持日期和数字格式化
 * - 使用ErrorBoundary处理渲染错误
 * - 提供拖拽手柄功能
 * - 支持图表配置和自定义
 * - 集成编辑器状态管理
 * - 提供响应式布局
 */
export declare const ChartElement: (props: RenderElementProps) => React.JSX.Element;
