import { Domain, YRange, Feature } from './types'; export declare function m(x: number, y: number): string; export declare function l(x: number, y: number): string; /** * Creates a closure for mapping values into an X coordinate space. * @param domain object with the start and end coordinates of the original values. * @param width the maximum value of the output space. */ export declare function xtransform(domain: Domain, width: number): (i: number) => number; /** * Creates a linear scale for mapping values into a Y coordinate space. * @param range object with the max and min coordinates of the original values. * @param height the maximum value of the output space. */ export declare function ytransform(range: YRange, height: number): (i: number) => number; /** * Creates a linear scale for mapping values from one coordinate space to another. * @param indomain the original domain. * @param outdomain the output domain. */ export declare function linearTransform(inDomain: Domain, outDomain: Domain): (value: number) => number; /** * Creates a linear scale for mapping track input coordinates to an output x coordinate range. If the * domain is not explicitly given it will be computed from the minima and maxima of the passed track data. * @param domain object with the start and end coordinates to set, or null. * @param data optional array of objects with start and end coordinates to compute the domain. * @param width the maximum value of the output space. */ export declare function trackXTransform(domain: Domain, data: Domain[], width: number): (i: number) => number; /** * Creates a linear scale for mapping track input coordinates to an output x coordinate range. If the * domain is not explicitly given it will be computed from the minima and maxima of the passed track data. * @param domain object with the start and end coordinates to set, or null. * @param data optional array of objects with start and end coordinates to compute the domain. * @param width the maximum value of the output space. */ export declare function trackYTransform(range: YRange, data: YRange[], height: number): (i: number) => number; export declare function groupFeatures(features: T[], x: (value: number) => number, fontSize: number, margin?: number | undefined): T[][]; export declare function formatPoint(point?: number): string;