import type { HlWsFastAssetCtx } from '../types/index.js'; /** * Decode a base64-encoded raw-DEFLATE payload and parse its UTF-8 JSON body. * @typeParam T - Expected shape of the decoded JSON value. * @throws If decompression or JSON parsing fails. * @public */ export declare function decodeCompressedJson(base64: string): Promise; /** * Decode a Hyperliquid `fastAssetCtxs` frame. HL sends the payload as a * base64-encoded, raw-DEFLATE-compressed (RFC 1951 — no zlib/gzip wrapper) JSON * object keyed by coin. Decoded via the web-standard `DecompressionStream` * (Node 18+, modern browsers), so no dependency is needed. * * @throws If the input is not valid base64 / raw-DEFLATE / JSON. * @public */ export declare function decodeFastAssetCtxs(base64: string): Promise>; //# sourceMappingURL=decodeFastAssetCtxs.d.ts.map