import { BlockProps, VictoryLabelStyleObject, VictoryThemeDefinition } from 'victory'; import { ThemeConfig } from '@kaspersky/hexa-ui/design-system'; export type CustomTheme = Partial & { line: { colorScale: string[]; metricLineColor?: string; }; bar: { colorScale: string[]; }; chart: { colorScale: string[]; }; labels: { style?: VictoryLabelStyleObject; }; speedometer: { colorScale: string[]; padding: BlockProps; style?: { tick: { fill?: string; }; tickLabel?: React.CSSProperties; pointer?: { fill?: string; }; }; }; }; export declare function useChartTheme(colors?: string[], chartTheme?: CustomTheme): CustomTheme; export declare function getChartTheme(theme: ThemeConfig, colors?: string[], chartTheme?: CustomTheme): CustomTheme;