/// <reference types="react" />
import type { NumberValue } from "d3-scale";
import type { HoveredData } from "../../../../visualizations/shared/types/events";
import type { ChartTicksFormatters } from "../../../../visualizations/shared/types/format";
import type { TextWidthMeasurer } from "../../../../visualizations/shared/types/measure-text";
import type { SeriesInfo } from "../../types/data";
import type { ContinuousScaleType, Range } from "../../types/scale";
import type { ChartGoal } from "../../types/settings";
import type { BarData, RowChartTheme, Series, StackOffset } from "./types";
export interface RowChartProps<TDatum> {
    width?: number | null;
    height?: number | null;
    data: TDatum[];
    series: Series<TDatum, SeriesInfo>[];
    seriesColors: Record<string, string>;
    trimData?: (data: TDatum[], maxLength: number) => TDatum[];
    goal?: ChartGoal | null;
    theme: RowChartTheme;
    stackOffset: StackOffset;
    labelledSeries?: string[] | null;
    xValueRange?: Range;
    yLabel?: string;
    xLabel?: string;
    hasXAxis?: boolean;
    hasYAxis?: boolean;
    tickFormatters?: ChartTicksFormatters;
    labelsFormatter?: (value: NumberValue) => string;
    measureTextWidth: TextWidthMeasurer;
    xScaleType?: ContinuousScaleType;
    style?: React.CSSProperties;
    hoveredData?: HoveredData | null;
    onClick?: (event: React.MouseEvent, bar: BarData<TDatum, SeriesInfo>) => void;
    onHover?: (event: React.MouseEvent, bar: BarData<TDatum, SeriesInfo> | null) => void;
}
export declare const RowChart: <TDatum>({ width, height, data, trimData, series: multipleSeries, seriesColors, goal, theme, stackOffset, labelledSeries, xLabel, yLabel, hasXAxis, hasYAxis, xValueRange, tickFormatters, labelsFormatter, xScaleType, measureTextWidth, style, hoveredData, onClick, onHover, }: RowChartProps<TDatum>) => import("react/jsx-runtime").JSX.Element;
