import { AgChartOptions } from 'ag-charts-types'; import { AgLogAxisOptions, AgNumberAxisOptions } from 'ag-charts-enterprise'; interface AxisDomain { min: number; max: number; } /** * Calculate the absolute distance from center based on data range and scale type * @param data The data array from the series * @param key The key to extract values from data * @param centerCoord The coordinate to center on * @param scale The axis scale type ("log" or "number") (default: "number") * @returns The calculated absolute distance */ export declare function getAbsoluteDistance(data: any[] | undefined, key: string | undefined, centerCoord: number): number | null; /** * Calculate the domain (min/max) for an axis based on the center coordinate and scale type * @param centerCoord The coordinate to center the axis on * @param scale The axis scale type ("log" or "number") * @param absoluteDistance The absolute distance from center on either side (used for linear scales) * @returns Object with min and max values for the axis domain */ export declare function calculateAxisDomain(centerCoord: number, scale: string, absoluteDistance: number | null): AxisDomain | null; /** * Add a cross line to an axis at the specified coordinate * @param axis The axis object to add the cross line to * @param value The coordinate value where the cross line should be placed */ export declare function addCrossLineToAxis(axis: AgNumberAxisOptions | AgLogAxisOptions, value: number): void; /** * Apply centering to x-axis based on centerOnCoords * @param options The chart options object * @param centerCoord The x coordinate to center on */ export declare function applyCenterOnXAxis(options: AgChartOptions, centerCoord: number): void; /** * Apply centering to y-axis based on centerOnCoords * @param options The chart options object * @param centerCoord The y coordinate to center on */ export declare function applyCenterOnYAxis(options: AgChartOptions, centerCoord: number): void; export {};