///
import stream from 'stream';
import VinylFile from 'vinyl';
import { Cache, CacheOptions } from '@upradata/node-util';
import { PartialRecursive } from '@upradata/util';
export declare type StreamCacheMode = 'manual' | 'auto';
export declare class StreamCacheConfig {
emitCache: boolean;
emitName: string;
collectionName: string | string[];
filter: (file: VinylFile) => boolean;
mode: StreamCacheMode;
filePath: (file: VinylFile) => string;
disabled: boolean;
debug?: string;
}
export declare class StreamCacheOptions {
streamCache: StreamCacheConfig;
cacheOptions?: CacheOptions;
cache?: Cache;
}
export declare function streamCache(options?: PartialRecursive & {
cache?: Cache;
}): stream.Transform;