blob: 53f39ad867845d53cc2d6ccab59d077c49692032 (
plain)
1
2
3
4
5
6
7
8
|
import type { Context } from '../../context';
import type { Next } from '../../hono';
declare type EncodingType = 'gzip' | 'deflate';
interface CompressionOptions {
encoding?: EncodingType;
}
export declare const compress: (options?: CompressionOptions) => (ctx: Context, next: Next) => Promise<void>;
export {};
|