import { default as React } from 'react'; import { AstroChartHandle } from './AstroChart'; import { AstroChartProps, AxisOptions } from './types'; type PresetProps = Omit; export interface LineChartProps extends PresetProps { /** Enable smooth curves */ smooth?: boolean; /** Show data points */ showPoints?: boolean; /** Enable area fill */ showArea?: boolean; } export declare const LineChart: React.MemoExoticComponent>>; export interface AreaChartProps extends PresetProps { /** Stack areas */ stacked?: boolean; /** Smooth curves */ smooth?: boolean; } export declare const AreaChart: React.MemoExoticComponent>>; export interface BarChartProps extends PresetProps { /** Stack bars */ stacked?: boolean; /** Horizontal orientation */ horizontal?: boolean; /** Bar category gap */ categoryGap?: string; } export declare const BarChart: React.MemoExoticComponent>>; export interface ScatterChartProps extends PresetProps { /** Symbol size */ symbolSize?: number | ((value: number[]) => number); /** Show regression line */ showRegression?: boolean; } export declare const ScatterChart: React.MemoExoticComponent>>; export interface PieChartProps extends Omit { /** Show as donut */ donut?: boolean; /** Inner radius for donut (percentage) */ innerRadius?: string; /** Outer radius (percentage) */ outerRadius?: string; /** Show labels */ showLabels?: boolean; /** Center content (for donut) */ centerContent?: React.ReactNode; } export declare const PieChart: React.MemoExoticComponent>>; export declare const DonutChart: React.MemoExoticComponent>>; export interface GaugeChartProps extends Omit { /** Current value */ value: number; /** Minimum value */ min?: number; /** Maximum value */ max?: number; /** Unit label */ unit?: string; /** Title label */ label?: string; /** Threshold colors */ thresholds?: { value: number; color: string; }[]; /** Show progress arc */ progress?: boolean; /** Show clock-style pointer (needle). Set false for arc + value only. */ showPointer?: boolean; } export declare const GaugeChart: React.MemoExoticComponent>>; export interface RadarChartProps extends Omit { /** Indicator definitions */ indicators: { name: string; max: number; min?: number; }[]; /** Fill area */ areaStyle?: boolean; } export declare const RadarChart: React.MemoExoticComponent>>; export interface HeatmapChartProps extends PresetProps { /** X-axis categories */ xCategories: string[]; /** Y-axis categories */ yCategories: string[]; /** Value range */ valueRange?: [number, number]; /** Show value labels */ showLabels?: boolean; } export declare const HeatmapChart: React.MemoExoticComponent>>; export interface TimeSeriesChartProps extends PresetProps { /** Time window in milliseconds */ timeWindow?: number; /** Maximum data points */ maxPoints?: number; /** Auto-scroll to latest data */ autoScroll?: boolean; /** Show current values */ showCurrentValues?: boolean; } export declare const TimeSeriesChart: React.MemoExoticComponent>>; export interface DualAxisChartProps extends PresetProps { /** Left Y-axis options */ leftAxis?: AxisOptions; /** Right Y-axis options */ rightAxis?: AxisOptions; } export declare const DualAxisChart: React.MemoExoticComponent>>; export declare const StackedAreaChart: React.MemoExoticComponent>>; export declare const StackedBarChart: React.MemoExoticComponent>>; export interface BubbleChartProps extends PresetProps { /** Min bubble size (px) */ minSize?: number; /** Max bubble size (px) */ maxSize?: number; /** Show size legend */ showSizeLegend?: boolean; } export declare const BubbleChart: React.MemoExoticComponent>>; export interface HistogramChartProps extends PresetProps { /** Number of bins (auto if not specified) */ bins?: number; /** Show distribution curve overlay */ showCurve?: boolean; } export declare const HistogramChart: React.MemoExoticComponent>>; export interface SankeyChartProps extends Omit { /** Node definitions */ nodes: { name: string; itemStyle?: { color?: string; }; }[]; /** Link definitions */ links: { source: string; target: string; value: number; }[]; /** Orient vertical or horizontal */ orient?: "horizontal" | "vertical"; } export declare const SankeyChart: React.MemoExoticComponent>>; export interface TreemapDataNode { name: string; value?: number; children?: TreemapDataNode[]; itemStyle?: { color?: string; }; } export interface TreemapChartProps extends Omit { /** Hierarchical data */ data: TreemapDataNode[]; /** Show breadcrumb navigation */ showBreadcrumb?: boolean; /** Leaf depth to show */ leafDepth?: number; } export declare const TreemapChart: React.MemoExoticComponent>>; export interface SunburstDataNode { name: string; value?: number; children?: SunburstDataNode[]; itemStyle?: { color?: string; }; } export interface SunburstChartProps extends Omit { /** Hierarchical data */ data: SunburstDataNode[]; /** Inner radius (percentage or pixels) */ innerRadius?: string | number; /** Outer radius (percentage or pixels) */ outerRadius?: string | number; } export declare const SunburstChart: React.MemoExoticComponent>>; export interface ParallelAxisDef { dim: number; name: string; min?: number; max?: number; type?: "value" | "category"; data?: string[]; } export interface ParallelChartProps extends Omit { /** Axis definitions */ axes: ParallelAxisDef[]; /** Data rows (each row is values for each axis) */ data: (number | string)[][]; /** Line style */ lineStyle?: { opacity?: number; width?: number; }; } export declare const ParallelChart: React.MemoExoticComponent>>; export interface CandlestickDataPoint { time: number | string; open: number; close: number; low: number; high: number; } export interface CandlestickChartProps extends Omit { /** OHLC data */ data: CandlestickDataPoint[]; /** Show volume bars */ showVolume?: boolean; } export declare const CandlestickChart: React.MemoExoticComponent>>; export interface GraphNode { id: string; name: string; value?: number; category?: number; symbolSize?: number; x?: number; y?: number; itemStyle?: { color?: string; }; } export interface GraphLink { source: string; target: string; value?: number; lineStyle?: { width?: number; color?: string; }; } export interface GraphCategory { name: string; itemStyle?: { color?: string; }; } export interface GraphChartProps extends Omit { /** Node definitions */ nodes: GraphNode[]; /** Link definitions */ links: GraphLink[]; /** Category definitions */ categories?: GraphCategory[]; /** Layout type */ layout?: "force" | "circular" | "none"; } export declare const GraphChart: React.MemoExoticComponent>>; export interface BoxPlotDataPoint { /** Category name (x-axis label) */ name: string; /** Raw data values for computing boxplot statistics */ values: number[]; } export interface BoxPlotChartProps extends Omit { /** Box plot data - each item contains a category name and array of values */ data: BoxPlotDataPoint[]; /** Show outliers as scatter points */ showOutliers?: boolean; /** Custom colors for each box (uses theme palette if not provided) */ colors?: string[]; /** Horizontal orientation (default is vertical) */ horizontal?: boolean; } /** * BoxPlotChart - Statistical distribution visualization * * Shows distribution of data through quartiles (box) and whiskers (range). * Uses theme-aware colors from the data visualization palette. * * @example * ```tsx * * ``` */ export declare const BoxPlotChart: React.MemoExoticComponent>>; export {};