import type { Shape1DWithFWHM } from 'ml-peak-shape-generator'; export interface AddMissingShapeOptions { /** * Shape used when a peak has none. * @default { kind: 'gaussian' } */ shape?: Shape1DWithFWHM; /** * Destination array. * @default structuredClone(peaks) */ output?: T[]; } /** * Add a `shape` property to peaks that do not have one. * If a peak already has a `shape` but no `fwhm`, the FWHM is computed from `peak.width`. * @param peaks - Peaks with a `width` property. * @param options - Shape options. * @returns A peak list where every peak has a `shape` property. */ export declare function addMissingShape(peaks: T[], options?: AddMissingShapeOptions): Array; //# sourceMappingURL=addMissingShape.d.ts.map