import type { CacheHandler, CacheHandlerContext, CacheHandlerValue } from './'; export default class FileSystemCache implements CacheHandler { private fs; private flushToDisk?; private serverDistDir; private memoryCache?; constructor(ctx: CacheHandlerContext); get(key: string): Promise; set(key: string, data: CacheHandlerValue['value']): Promise; private getFsPath; }