import { BoxProps, ElementProps, Factory, MantineColor, StylesApiProps } from '@mantine/core'; export interface BulletChartRange { /** Upper bound value for this range */ value: number; /** Background color of the range band */ color: MantineColor; /** Optional label for the range */ label?: string; } export type BulletChartStylesNames = 'root' | 'label' | 'trackWrapper' | 'track' | 'range' | 'bar' | 'target' | 'rangeLabel' | 'barLabel' | 'targetLabel'; export type BulletChartCssVariables = { root: '--bullet-size' | '--bullet-bar-size'; }; export interface BulletChartProps extends BoxProps, StylesApiProps, ElementProps<'div'> { /** Current actual value */ value: number; /** Target value, displayed as a marker line */ target?: number; /** Qualitative ranges displayed as background bands */ ranges: BulletChartRange[]; /** Orientation, @default 'horizontal' */ orientation?: 'horizontal' | 'vertical'; /** Label displayed next to the chart */ label?: React.ReactNode; /** Value formatter for tooltip/display and labels */ valueFormatter?: (value: number) => string; /** Color of the actual value bar, @default 'white' */ barColor?: MantineColor; /** Color of the target marker, @default 'dark' for light, 'white' for dark */ targetColor?: MantineColor; /** Height of the chart track area (ranges), @default 32 */ size?: number | string; /** Height of the actual value bar, @default 16 */ barSize?: number | string; /** Target marker size relative to chart size, @default 0.7 */ targetRatio?: number; /** Target marker thickness, @default 2 */ targetSize?: number | string; /** Whether to show tooltip on hover, @default false */ withTooltip?: boolean; /** Custom tooltip content */ getTooltipLabel?: (data: { value: number; target?: number; }) => React.ReactNode; } export type BulletChartFactory = Factory<{ props: BulletChartProps; ref: HTMLDivElement; stylesNames: BulletChartStylesNames; vars: BulletChartCssVariables; }>; export declare const BulletChart: import("@mantine/core").MantineComponent<{ props: BulletChartProps; ref: HTMLDivElement; stylesNames: BulletChartStylesNames; vars: BulletChartCssVariables; }>;