import { type ComputedAxis, type D3Scale } from "../../../../models/axis.js";
/**
 * For a pointer coordinate, this function returns the dataIndex associated.
 * Returns `-1` if no dataIndex matches.
 */
export declare function getAxisIndex(axisConfig: ComputedAxis, pointerValue: number): number;
/**
 * For a pointer coordinate, this function returns the value associated.
 * Returns `null` if the coordinate has no value associated.
 */
export declare function getAxisValue<Domain extends {
  toString(): string;
} = {
  toString(): string;
}, Range = number, Output = number>(scale: D3Scale<Domain, Range, Output>, axisData: readonly any[] | undefined, pointerValue: number, dataIndex: number | null): number | Date | null;