import type { Spectrum } from '../spectrum/Spectrum.js'; export interface AnnotationPosition { x: number | string; y: number | string; } export interface LineAnnotation { type: string; position: AnnotationPosition[]; strokeWidth?: number; strokeColor?: string; label?: { size?: number; text: string; position: AnnotationPosition; }; } export interface GetTrackAnnotationOptions { /** * IDs of the spectra to select */ ids?: string[]; /** * Show spectrum ID in annotations * @default true */ showSpectrumID?: boolean; /** * Sort annotations by Y value * @default true */ sortY?: boolean; /** * Maximum number of annotations to show * @default 20 */ limit?: number; } /** * Get track annotation for a specific index * @param spectra - Array of spectrum objects * @param index - Index in the spectrum * @param options - Annotation options * @returns Array of line annotations */ export declare function getTrackAnnotation(spectra: Spectrum[], index: number, options?: GetTrackAnnotationOptions): LineAnnotation[]; //# sourceMappingURL=getTrackAnnotation.d.ts.map