UNPKG

486 BTypeScriptView Raw
1/// <reference types="node" />
2import { EventEmitter } from 'events';
3import { Descriptor } from './FileSystem';
4export declare class PathCollector extends EventEmitter {
5 private readonly path;
6 private readonly log;
7 protected constructor(path: string);
8 static from(cwd?: string): PathCollector;
9 collect(patterns: string[], recursive?: boolean): Promise<Descriptor[]>;
10 resolve(pattern: string): Promise<Descriptor[]>;
11}
12//# sourceMappingURL=PathCollector.d.ts.map
\No newline at end of file