import type { BarChartBarModel, BarChartDeselectEvent, BarChartInteraction, BarChartSelectEvent, BarChartSelectedBar } from "./types";
export type ResolvedBarChartInteractionConfig<TData = unknown> = {
    mode: "none" | "tap";
    deselectOnOutsidePress: boolean;
    onSelect?: (event: BarChartSelectEvent<TData>) => void;
    onDeselect?: (event: BarChartDeselectEvent) => void;
};
export declare const getBarChartBarKey: (selectedBar: BarChartSelectedBar | undefined) => string | undefined;
export declare const getBarChartInteractionConfig: <TData>(interaction: BarChartInteraction<TData> | undefined) => ResolvedBarChartInteractionConfig<TData>;
export declare const isBarChartInteractionEnabled: <TData>(config: ResolvedBarChartInteractionConfig<TData>) => boolean;
export declare const getBarChartBarAtPoint: <TData>({ bars, hitSlop, locationX, locationY }: {
    bars: Array<BarChartBarModel<TData>>;
    hitSlop?: number;
    locationX: number;
    locationY: number;
}) => BarChartBarModel<TData> | undefined;
export declare const buildBarChartSelectEvent: <TData>(bar: BarChartBarModel<TData> | undefined) => BarChartSelectEvent<TData> | undefined;
//# sourceMappingURL=interaction.d.ts.map