import { PlotConfig } from 'asciichart'; export interface ScaleConfig { maxPrecision?: number; factorAdjustment?: number; } /** * The function scales a set of numbers so that they are more human-readable. * It does this by dividing or multiplying the numbers by powers of 10 until they are either all integers, * or until some of the numbers have more than a certain number of digits after the decimal point (determined by the maxPrecision parameter). * This type of scaling might be useful in situations where you want to present a set of numbers to a user, * but the raw values are either very large or very small, and therefore not easily understandable. * By scaling the numbers, it becomes easier for the user to grasp the magnitude of the values and compare them to each other. */ export declare function scaleToIntegers(input: number[], { maxPrecision, factorAdjustment }?: ScaleConfig): { scaled: number[]; scale: number; }; export declare const asPlot: (values: number[], config?: PlotConfig & ScaleConfig & { labels?: (string | number)[]; showLabel?: boolean; }) => string; //# sourceMappingURL=testPlottingHelpers.d.ts.map