import { IMargins } from './utilities';
export declare const getClosestPairDiffAndRange: (data: number[] | Date[]) => [number, number] | undefined;
export declare const calculateAppropriateBarWidth: (data: number[] | Date[], totalWidth: number, innerPadding: number) => number;
/**
 * Calculates the total width available for rendering bars.
 */
export declare const calcTotalWidth: (containerWidth: number, margins: IMargins, extraMargin?: number) => number;
/**
 * Calculates the combined size of all bands and the gaps between them, in units relative to the bandwidth.
 */
export declare const calcTotalBandUnits: (numBands: number, innerPadding: number) => number;
/**
 * Calculates the total width required to render all bands including the gaps between them.
 */
export declare const calcRequiredWidth: (bandwidth: number, numBands: number, innerPadding: number) => number;
/**
 * Calculates the maximum possible bandwidth such that the combined widths of all bands
 * and the gaps between them exactly fill the total available width.
 */
export declare const calcBandwidth: (totalWidth: number, numBands: number, innerPadding: number) => number;
