import { ChartType, UnifiedChartProps } from "./types.js"; import * as react_jsx_runtime0 from "react/jsx-runtime"; //#region src/react/charts/create-chart.d.ts /** * Factory function to create chart components. * Eliminates boilerplate by generating components with the same pattern. * * @param chartType - The ECharts chart type * @param displayName - Component display name for React DevTools * @returns A typed chart component * * @example * ```tsx * export const BarChart = createChart("bar", "BarChart"); * export const LineChart = createChart("line", "LineChart"); * ``` */ declare function createChart(chartType: ChartType, displayName: string): { (props: TProps): react_jsx_runtime0.JSX.Element; displayName: string; }; //#endregion export { createChart }; //# sourceMappingURL=create-chart.d.ts.map