import type { D3Scale } from "../models/axis.mjs";
/**
 * For a given scale return a function that map value to their position.
 * Useful when dealing with specific scale such as band.
 * @param {D3Scale} scale The scale to use
 * @returns {(value: any) => number} A function that map value to their position
 */
export declare function getValueToPositionMapper<Domain extends {
  toString(): string;
} = {
  toString(): string;
}, Range = number>(scale: D3Scale<Domain, Range>): (value: any) => number;