/// import { Writable } from "stream"; import { ICacheItem, IStreamCacheBackend } from "./Cache"; export interface IStringDecoder { asString(key: K): string; asKey(str: string): K; } export declare class FileStreamCacheBackend implements IStreamCacheBackend { private rootPath; private decoder; constructor(rootPath: string, decoder?: IStringDecoder); putStreaming(key: K): Promise; getSteaming(key: K, output: Writable): Promise; expunge(key: K): Promise; [Symbol.iterator](): Iterator>; private getPath; }