1 | /// <reference types="node" />
|
2 | import { EventEmitter } from 'events';
|
3 | import File = require('vinyl');
|
4 | import { PassThrough } from 'stream';
|
5 | export declare class Store extends EventEmitter {
|
6 | private store;
|
7 | private load;
|
8 | get(filepath: string): File;
|
9 | existsInMemory(filepath: string): boolean;
|
10 | add(file: File): this;
|
11 | each(onEach: (file: File, index: number) => void): this;
|
12 | all(): File[];
|
13 | stream(): PassThrough;
|
14 | }
|
15 | export declare function create(): Store;
|