import type { WireMessage } from "../server/wire.js"; /** * Serialize and gzip a message slice, then base64-encode the compressed * bytes for safe transport inside a JSON `ws_event` frame. */ export declare function gzipEncodeMessages(messages: WireMessage[]): string; /** * Type guard for the only supported history-compression encoding. */ export declare function shouldCompressHistory(encoding: string | undefined): encoding is "gzip-base64"; //# sourceMappingURL=history-compression.d.ts.map