import type { XYFilterXOptions } from 'ml-spectra-processing'; import type { Spectrum } from '../spectrum/Spectrum.js'; import type { Chart } from './addChartDataStyle.js'; export interface GetChartOptions { /** * List of spectra ids, by default all */ ids?: string[]; /** * Y-axis multiplication factor * @default 1 */ yFactor?: number; /** * Filter options for x values */ xFilter?: XYFilterXOptions; } /** * Retrieve a chart with selected original data * @param spectra - Array of spectrum objects * @param options - Chart options * @returns Chart object with data */ export declare function getChart(spectra: Spectrum[], options?: GetChartOptions): Chart; //# sourceMappingURL=getChart.d.ts.map