import type { MeasurementXY, TextData } from 'cheminfo-types'; import type { ParseXYOptions } from 'xy-parser'; import { Analysis } from '../Analysis.js'; export interface FromTextOptions extends Pick { /** * @default {} */ info?: { /** * Units for the x axis * @default '' */ xUnits?: string; /** * Label for the x axis * @default '' */ xLabel?: string; /** * Units for the y axis * @default '' */ yUnits?: string; /** * Label for the y axis * @default '' */ yLabel?: string; }; parser?: ParseXYOptions; } /** * Convert strings into JCAMP and add extra information * @param data - values to add to the file, usually a csv or tsv values * @param options */ export declare function fromText(data: TextData, options?: FromTextOptions): Analysis; //# sourceMappingURL=fromText.d.ts.map