fediversity.eu/node_modules/fast-glob/out/providers/async.d.ts

10 lines
416 B
TypeScript
Raw Permalink Normal View History

2024-03-26 16:28:28 +01:00
import { Task } from '../managers/tasks';
import { Entry, EntryItem, ReaderOptions } from '../types';
import ReaderAsync from '../readers/async';
import Provider from './provider';
export default class ProviderAsync extends Provider<Promise<EntryItem[]>> {
protected _reader: ReaderAsync;
read(task: Task): Promise<EntryItem[]>;
api(root: string, task: Task, options: ReaderOptions): Promise<Entry[]>;
}