import type { ReactNode } from 'react'; import type { ChartRendererProps } from '../../chart/types'; import type { ChartData } from '../../chart-data/types'; import type { ChartType } from '../../types'; export type CustomChartRenderer = { chartType: ChartType; hasNoResults?: (chartData: ChartData) => boolean; canRender: (props: ChartRendererProps) => boolean; render: (props: ChartRendererProps) => ReactNode; }; export declare const registerCustomChartRenderer: (renderer: CustomChartRenderer) => void; export declare const getCustomChartRenderer: (chartType: ChartType) => CustomChartRenderer | undefined; export declare const clearCustomChartRenderers: () => void; //# sourceMappingURL=custom-chart-registry.d.ts.map