import type { IncrementalCache, ResponseCacheEntry, ResponseGenerator, ResponseCacheBase } from 'next/dist/server/response-cache/types'; import { RouteKind } from 'next/dist/server/future/route-kind'; export * from 'next/dist/server/response-cache/types'; export default class ResponseCache implements ResponseCacheBase { private readonly batcher; private previousCacheItem?; private minimalMode?; constructor(minimalMode: boolean); get(key: string | null, responseGenerator: ResponseGenerator, context: { routeKind?: RouteKind; isOnDemandRevalidate?: boolean; isPrefetch?: boolean; incrementalCache: IncrementalCache; }): Promise; }