import { Annotation } from './types.js'; export interface SerializedAnnotations { readonly version: 1; readonly annotations: Annotation[]; } /** Serialize annotations to a versioned sidecar JSON string. */ export declare function serializeAnnotations(annotations: Annotation[]): string; /** Parse a sidecar JSON string back into annotations. Returns [] on malformed input. */ export declare function parseAnnotations(json: string): Annotation[];