import { ScaleLinear } from '@visx/vendor/d3-scale';
/**
 * Computes the SVG y-start and height for a vertical grouped bar, clamping the
 * baseline to the visible domain floor/ceiling instead of always using scale(0).
 *
 * When zero lies outside the rendered domain (e.g. yAxisMin > 0), bars anchor
 * to the nearest domain boundary so geometry stays within the plot area.
 */
export declare function computeBarGeometry(value: number, yScale: ScaleLinear<number, number, never>): {
    barStart: number;
    barSize: number;
};
/**
 * Computes the SVG x-start and width for a horizontal grouped bar, clamping the
 * baseline to the visible domain left/right boundary instead of always using scale(0).
 *
 * When zero lies outside the rendered domain (e.g. xAxisMin > 0), bars anchor
 * to the nearest domain boundary so geometry stays within the plot area.
 */
export declare function computeHorizontalBarGeometry(value: number, xScale: ScaleLinear<number, number, never>): {
    barStart: number;
    barSize: number;
};
