/** * Compression middleware for Hono. Negotiates `Accept-Encoding`, compresses the * response body with the best supported codec (brotli → zstd → gzip → deflate), * and sets `Content-Encoding` / `Vary`. * * @example * ```ts * import { Hono } from 'hono'; * import { hono as compress } from '@myrialabs/zipkit'; * const app = new Hono(); * app.use('*', compress()); * ``` */ import { type CompressionOptions } from './shared.js'; /** Create a Hono compression middleware. */ export declare function hono(options?: CompressionOptions): (c: any, next: () => Promise) => Promise; //# sourceMappingURL=hono.d.ts.map