declare module 'jcrush' {
  export interface JCrushOptions {
    eval?: string;
    let?: boolean;
    semi?: boolean;
    strip?: boolean;
    reps?: number;
    prog?: boolean;
    fin?: boolean;
    maxLen?: number;
    omit?: string[];
    clean?: boolean;
    words?: boolean;
    trim?: boolean;
    break?: string[];
    split?: string[];
    escSafe?: boolean;
    customPre?: string;
    customPost?: string;
  }

  export function code(code: string, opts?: JCrushOptions): string;
  export function file(inputFile: string, outputFile: string, opts?: JCrushOptions): void;
  export function gulp(opts?: JCrushOptions): any;
}