.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / fast-glob / package / out / providers / reader-async.d.ts
1 /// <reference types="node" />\r
2 import * as readdir from '@mrmlnc/readdir-enhanced';\r
3 import Reader from './reader';\r
4 import FileSystemStream from '../adapters/fs-stream';\r
5 import { ITask } from '../managers/tasks';\r
6 import { EntryItem } from '../types/entries';\r
7 export default class ReaderAsync extends Reader<Promise<EntryItem[]>> {\r
8     /**\r
9      * Returns FileSystem adapter.\r
10      */\r
11     readonly fsAdapter: FileSystemStream;\r
12     /**\r
13      * Use async API to read entries for Task.\r
14      */\r
15     read(task: ITask): Promise<EntryItem[]>;\r
16     /**\r
17      * Returns founded paths.\r
18      */\r
19     api(root: string, task: ITask, options: readdir.Options): NodeJS.ReadableStream;\r
20     /**\r
21      * Api for dynamic tasks.\r
22      */\r
23     dynamicApi(root: string, options: readdir.Options): NodeJS.ReadableStream;\r
24     /**\r
25      * Api for static tasks.\r
26      */\r
27     staticApi(task: ITask, options: readdir.Options): NodeJS.ReadableStream;\r
28 }\r