import { ReactElement } from 'react'; import { CartesianCardProps } from './cartesian-card'; import { NumericKey } from './keys'; type SharedProps> = Omit, 'series' | 'headlineSeries' | 'pillSeries' | 'target' | 'forecast' | 'bleed' | 'tiles'>; export interface RangeChartCardProps> extends SharedProps { /** Field holding the low end of each range. */ low: Key; /** Field holding the high end of each range. */ high: Key; /** * Field holding each measured value, such as a mean inside its uncertainty. It drives the * headline and pills. Defaults to `high`. */ value?: Key; /** Names the series in hover and tiles. Defaults to the value key. */ label?: string; color?: string; /** `bar` (default) floats a bar from low to high; `error` draws whiskers around the value. */ display?: 'bar' | 'error'; /** Draws each bar as a solid block receding up and to the right. Error bars stay flat. */ depth?: boolean; /** Per-series stat tile under the plot. Defaults to false. */ tiles?: boolean; } /** * Ranges per observation: floating bars from low to high, or error bars around a value. The * headline summarizes the values (the mean by default) and hover reads the range's ends. */ export declare function RangeChartCard>({ low, high, value, label, color, display, depth, aggregate, tiles, ...props }: RangeChartCardProps): ReactElement; export {};