import type { CSLNode, CompressedChunk, SlimCSLNode } from './types/csl'; export type { CompressedChunk }; /** * Decompress a chunk that was gzip-compressed and base64-encoded by the build. * Returns the data unchanged if it is already a slim CSL node. */ export declare function decompressChunk(data: SlimCSLNode | CompressedChunk): Promise; /** * Fetch a JSON asset that may be served either raw or gzip-compressed. * Detects the gzip magic bytes (0x1f 0x8b) and decompresses if needed. */ export declare function fetchGzJSON(url: string): Promise; /** * Inflate a compressed CSL JSON node into the object shape expected by citeproc-js. */ export declare function inflateCSLObj(slimObj: SlimCSLNode | CSLNode): CSLNode; //# sourceMappingURL=tools.d.ts.map