/// import { EventEmitter } from 'stream'; import { Exporter } from './Exporter'; import { Parser } from './Parser'; export declare class Scanner { exporter: Exporter; ParserClass: new (...args: any[]) => Parser; private static DefaultConfig; event: EventEmitter; constructor(exporter: Exporter, ParserClass: new (...args: any[]) => Parser); scanDir(dir: string, excludes?: string[], includePattern?: RegExp, commentTag?: string): Promise; }