/**
 * Type declarations for modules without types
 */

declare module 'compression' {
  import { RequestHandler } from 'express';
  
  interface CompressionOptions {
    filter?: (req: any, res: any) => boolean;
    chunkSize?: number;
    level?: number;
    memLevel?: number;
    strategy?: number;
    threshold?: number;
    windowBits?: number;
    flush?: number;
    finishFlush?: number;
    defaultEncoding?: string;
  }
  
  function compression(options?: CompressionOptions): RequestHandler;
  export = compression;
}
