import { Analysis } from 'base-analysis'; import type { MeasurementXYVariables } from 'cheminfo-types'; interface Options { xLabel: string; yLabel: string; scale: 'linear' | 'log'; units: Record; } /** * Unifies the densities of the variables. * @param label - The label of the variable. * @returns - Replaced label with boolean if it had a density word. */ export declare function getDensities(label: string): [string, boolean]; /** * Append the units to the measurement. * @param data - The data to be check the units. * @param knownUnits - Dictionary of known units. * @returns - Data with the units replaced. */ export declare function appendUnits(data: MeasurementXYVariables, knownUnits?: Record): MeasurementXYVariables; /** * Query the analysis for the variables. * @param analysis - The analysis to query all labels. * @returns - Main labels, scale and units. */ export declare function getLabels(analysis: Analysis): Options; export {}; //# sourceMappingURL=utils.d.ts.map