import type { CacheHandler, CacheHandlerContext, CacheHandlerValue } from './'; import type { CacheFs } from '../../../shared/lib/utils'; type FileSystemCacheContext = Omit & { fs: CacheFs; serverDistDir: string; }; export default class FileSystemCache implements CacheHandler { private fs; private flushToDisk?; private serverDistDir; private appDir; private tagsManifestPath?; private revalidatedTags; constructor(ctx: FileSystemCacheContext); private loadTagsManifest; revalidateTag(tag: string): Promise; get(key: string, { tags, softTags, fetchCache, }?: { tags?: string[]; softTags?: string[]; fetchCache?: boolean; }): Promise; set(key: string, data: CacheHandlerValue['value'], ctx: { tags?: string[]; }): Promise; private getFsPath; } export {};