import type { PdfAnnotationSnapshot } from './types.js'; /** * Serializes an annotation snapshot to JSON, including FreeText fallback image bytes. * * @param snapshot - The current immutable session snapshot. * @returns The resulting string. * */ export declare function serializeAnnotationSnapshot(snapshot: PdfAnnotationSnapshot): string; /** * Parses JSON produced by {@link serializeAnnotationSnapshot}. * * @param json - The JSON value to parse. * @returns The resulting PdfAnnotationSnapshot. * */ export declare function deserializeAnnotationSnapshot(json: string): PdfAnnotationSnapshot; //# sourceMappingURL=annotation-storage.d.ts.map