22// SPDX-License-Identifier: Apache-2.0
33
44import { InternalCoreChart } from "../core/chart-core" ;
5- import { CoreChartProps } from "../core/interfaces" ;
5+ import type * as CoreInterfaces from "../core/interfaces" ;
66import useBaseComponent from "../internal/base-component/use-base-component" ;
77import { applyDisplayName } from "../internal/utils/apply-display-name" ;
88
9- function CoreChart ( props : CoreChartProps ) {
9+ function CoreChart ( props : CoreInterfaces . CoreChartProps ) {
1010 const baseComponentProps = useBaseComponent ( "ChartCore" , { props : { } } ) ;
1111 return < InternalCoreChart { ...props } { ...baseComponentProps } /> ;
1212}
@@ -15,4 +15,40 @@ applyDisplayName(CoreChart, "CoreChart");
1515
1616export default CoreChart ;
1717
18- export type { CoreChartProps } ;
18+ export namespace CoreChartTypes {
19+ export type BaseChartOptions = CoreInterfaces . BaseChartOptions ;
20+ export type BaseFilterOptions = CoreInterfaces . BaseFilterOptions ;
21+ export type BaseI18nStrings = CoreInterfaces . BaseI18nStrings ;
22+ export type BaseLegendOptions = CoreInterfaces . BaseLegendOptions ;
23+ export type BaseNoDataOptions = CoreInterfaces . BaseNoDataOptions ;
24+
25+ export type CartesianI18nStrings = CoreInterfaces . CartesianI18nStrings ;
26+ export type PieI18nStrings = CoreInterfaces . PieI18nStrings ;
27+ export type CoreI18nStrings = CoreInterfaces . CoreI18nStrings ;
28+
29+ export type CoreCartesianOptions = CoreInterfaces . CoreCartesianOptions ;
30+ export type CoreChartAPI = CoreInterfaces . CoreChartAPI ;
31+ export type CoreChartProps = CoreInterfaces . CoreChartProps ;
32+ export type CoreFooterOptions = CoreInterfaces . CoreFooterOptions ;
33+ export type CoreHeaderOptions = CoreInterfaces . CoreHeaderOptions ;
34+ export type CoreLegendItem = CoreInterfaces . CoreLegendItem ;
35+ export type CoreLegendOptions = CoreInterfaces . CoreLegendOptions ;
36+
37+ export type CoreTooltipContent = CoreInterfaces . CoreTooltipContent ;
38+ export type CoreTooltipOptions = CoreInterfaces . CoreTooltipOptions ;
39+ export type GetLegendTooltipContent = CoreInterfaces . GetLegendTooltipContent ;
40+ export type GetLegendTooltipContentProps = CoreInterfaces . GetLegendTooltipContentProps ;
41+ export type GetTooltipContent = CoreInterfaces . GetTooltipContent ;
42+ export type GetTooltipContentProps = CoreInterfaces . GetTooltipContentProps ;
43+ export type TooltipContent = CoreInterfaces . TooltipContent ;
44+ export type TooltipContentItem = CoreInterfaces . TooltipContentItem ;
45+ export type TooltipPointFormatted = CoreInterfaces . TooltipPointFormatted ;
46+ export type TooltipPointProps = CoreInterfaces . TooltipPointProps ;
47+ export type TooltipSlotProps = CoreInterfaces . TooltipSlotProps ;
48+
49+ export type InternalChartOptions = CoreInterfaces . InternalChartOptions ;
50+ export type InternalXAxisOptions = CoreInterfaces . InternalXAxisOptions ;
51+ export type InternalYAxisOptions = CoreInterfaces . InternalYAxisOptions ;
52+
53+ export type ChartHighlightProps = CoreInterfaces . ChartHighlightProps ;
54+ }
0 commit comments