/** * Compression middleware for Express / Connect. Buffers the response, then * compresses on `end()` with the best supported codec when the client accepts * one and the body clears the size threshold. * * @example * ```ts * import express from 'express'; * import { express as compression } from '@myrialabs/zipkit'; * const app = express(); * app.use(compression()); * ``` */ import { type CompressionOptions } from './shared.js'; /** Create an Express compression middleware. */ export declare function express(options?: CompressionOptions): (req: any, res: any, next: () => void) => void; //# sourceMappingURL=express.d.ts.map