/** Max stored data-URL length — avoids corrupt JPEGs from mid-string truncation in JSONL. */ export declare const MAX_SNAPSHOT_DATA_URL_LENGTH = 96000; export declare function dropOversizeSnapshot(snapshot?: string | null): string | undefined; /** Shrink JPEG data URLs by lowering quality and dimensions until they fit storage limits. */ export declare function compressDataUrlForStorage(dataUrl: string, maxChars?: number): Promise; //# sourceMappingURL=snapshot-compress.d.ts.map