import type { MeasurementXYVariables } from 'cheminfo-types'; import { Analysis } from 'common-spectrum'; import type { InputData } from 'spc-parser'; interface FromSPCOptions { /** Unique identifier for the analysis. */ id?: string; /** Human-readable label for the analysis. */ label?: string; /** Custom callback to apply on variables when creating a spectrum. Defaults to adding absorbance/transmittance variables. */ spectrumCallback?: (variables: MeasurementXYVariables) => MeasurementXYVariables; } /** * Creates a new Analysis from an SPC buffer. * @param buffer - SPC file buffer. * @param options - Options for the analysis. * @returns New Analysis element with the given data. */ export declare function fromSPC(buffer: InputData, options?: FromSPCOptions): Analysis; export {}; //# sourceMappingURL=fromSPC.d.ts.map