import { ResponsiveBar } from '@nivo/bar'; import type { BarDatum, BarSvgProps, BarTooltipProps } from '@nivo/bar'; import type { Box, DatumValue, ValueFormat } from '@nivo/core'; import type { ComponentProps, CSSProperties } from 'react'; import { BarChartTooltip } from './Tooltip'; type Formatter = ValueFormat; type TickSpec = NonNullable['axisBottom']>['tickValues']; type BarChartProps = { height?: string | number; margin?: Box; data?: BarDatum[]; axisFormatters?: Partial>; pointFormatters?: Partial>; tickValues?: Partial>; keys?: string[]; className?: string; tooltipFunction?: (props: BarTooltipProps) => ComponentProps; chartProps?: Partial> & { minValue?: number; maxValue?: number; }; 'data-testid'?: string; style?: CSSProperties; }; export declare function BarChart({ height, // to maintain aspect ratio based on our standard 1074px width, margin, data, axisFormatters, tickValues, keys, tooltipFunction, chartProps, className, 'data-testid': dataTestId, style, }: BarChartProps): import("react").JSX.Element; export declare namespace BarChart { var displayName: string; } export {}; //# sourceMappingURL=index.d.ts.map