1 |
|
2 | import { Settings } from './settings';
|
3 | import type { Options } from './settings';
|
4 | import type { AsyncCallback } from './providers';
|
5 | import type { Readable } from 'node:stream';
|
6 | import type { Entry } from './types';
|
7 | export declare function walk(directory: string, callback: AsyncCallback): void;
|
8 | export declare function walk(directory: string, options: Options | Settings, callback: AsyncCallback): void;
|
9 | export declare namespace walk {
|
10 | function __promisify__(directory: string, optionsOrSettings?: Options | Settings): Promise<Entry[]>;
|
11 | }
|
12 | export declare function walkSync(directory: string, optionsOrSettings?: Options | Settings): Entry[];
|
13 | export declare function walkStream(directory: string, optionsOrSettings?: Options | Settings): Readable;
|