<commit_before>import * as Koa from 'koa';

declare function KoaProxies(path: string, options: KoaProxies.IKoaProxiesOptions): Koa.Middleware;

declare namespace KoaProxies {
  interface IKoaProxiesOptions {
    target: string;
    changeOrigin?: boolean;
    logs?: boolean | ((ctx: Koa.Context, target: string) => void);
    agent?: any;
    rewrite?: (path: string) => string;
  }
}

export = KoaProxies;<commit_msg>Update definition file (#56)<commit_after>import * as Koa from 'koa';

declare function KoaProxies(path: string | RegExp | (string | RegExp)[], options: KoaProxies.IKoaProxiesOptions): Koa.Middleware;

declare namespace KoaProxies {
  interface IKoaProxiesOptions {
    target: string;
    changeOrigin?: boolean;
    logs?: boolean | ((ctx: Koa.Context, target: string) => void);
    agent?: any;
    rewrite?: (path: string) => string;
  }
}

export = KoaProxies;
{'fraction_non_alphanumeric': 0.12895927601809956, 'fraction_numerical': 0.0022624434389140274, 'mean_word_length': 4.60126582278481, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7500837', 'n_tokens_mistral': 306, 'n_tokens_neox': 297, 'n_words': 77}