2019-12-02 12:22:45 +00:00
|
|
|
/// <reference types="node" />
|
2019-12-02 15:42:11 +00:00
|
|
|
import { Readable } from 'stream';
|
2019-12-02 12:22:45 +00:00
|
|
|
import { Task } from '../managers/tasks';
|
|
|
|
import ReaderStream from '../readers/stream';
|
|
|
|
import { ReaderOptions } from '../types';
|
|
|
|
import Provider from './provider';
|
2019-12-02 15:42:11 +00:00
|
|
|
export default class ProviderStream extends Provider<Readable> {
|
2019-12-02 12:22:45 +00:00
|
|
|
protected _reader: ReaderStream;
|
2019-12-02 15:42:11 +00:00
|
|
|
read(task: Task): Readable;
|
|
|
|
api(root: string, task: Task, options: ReaderOptions): Readable;
|
2019-12-02 12:22:45 +00:00
|
|
|
}
|