You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
478 B
13 lines
478 B
2 years ago
|
import AsyncReader from '../readers/async';
|
||
|
import type Settings from '../settings';
|
||
|
import type { Entry, Errno } from '../types';
|
||
|
export declare type AsyncCallback = (error: Errno, entries: Entry[]) => void;
|
||
|
export default class AsyncProvider {
|
||
|
private readonly _root;
|
||
|
private readonly _settings;
|
||
|
protected readonly _reader: AsyncReader;
|
||
|
private readonly _storage;
|
||
|
constructor(_root: string, _settings: Settings);
|
||
|
read(callback: AsyncCallback): void;
|
||
|
}
|