UNPKG

336 BTypeScriptView Raw
1import type { IAsyncReader } from '../readers';
2import type { Entry, ErrnoException } from '../types';
3export type AsyncCallback = (error: ErrnoException | null, entries: Entry[]) => void;
4export declare class AsyncProvider {
5 #private;
6 constructor(reader: IAsyncReader);
7 read(root: string, callback: AsyncCallback): void;
8}