/** * Compress/decompress JSON-serializable objects with native compression streams * and encode/decode to/from url-safe base 64. Use this module by importing from * `@sirpepe/shed/compress`. */ /** * Compress a JSON-serializable object to url-safe base64 using the JSON * replacer `replacer` and the data format `format`. */ export declare function compressToBase64(inputData: any, replacer?: (this: any, key: string, value: any) => any, format?: ConstructorParameters[0]): Promise; /** * Decompress the output of `compressToBase64()` using the JSON reviver * `reviver` and the data format `format`. */ export declare function decompressFromBase64(inputBase64: string, reviver?: (this: any, key: string, value: any) => any, format?: ConstructorParameters[0]): Promise;