MOON
Server: Apache
System: Linux e2e-78-16.ssdcloudindia.net 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
User: imensosw (1005)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/imensosw/.trash/node_modules/fast-glob/index.d.ts
import { TransformFunction as Transform, IPartialOptions } from './out/managers/options';
import { ITask } from './out/managers/tasks';
import { Entry, EntryItem } from './out/types/entries';
import { Pattern } from './out/types/patterns';

declare namespace FastGlob {
	type Options<T = EntryItem> = IPartialOptions<T>;
	type TransformFunction<T> = Transform<T>;
	type Task = ITask;

	interface IApi {
		<T = EntryItem>(patterns: Pattern | Pattern[], options?: IPartialOptions<T>): Promise<T[]>;

		async<T = EntryItem>(patterns: Pattern | Pattern[], options?: IPartialOptions<T>): Promise<T[]>;
		sync<T = EntryItem>(patterns: Pattern | Pattern[], options?: IPartialOptions<T>): T[];
		stream(patterns: Pattern | Pattern[], options?: IPartialOptions): NodeJS.ReadableStream;
		generateTasks(patterns: Pattern | Pattern[], options?: IPartialOptions): Task[];
	}
}

declare const FastGlob: FastGlob.IApi;

export = FastGlob;
export as namespace FastGlob;