import { type AdapterConfiguration } from "./types"; export declare class AppAdapter { private buildId; private cacheMode; private cacheUrl; private cacheHandler; private remoteCacheHandler; constructor({ CacheHandler, buildId, cacheUrl, cacheMode, options, buildReady, }: AdapterConfiguration); /** * get cache * @param key cache key * @returns cached data */ get(key: string): Promise; /** * set cache * @param key cache key * @param data data to store * @param ctx next.js context */ set(key: string, data: any, ctx: any): Promise; /** * revalidate tag in cache * @param tag cache tag */ revalidateTag(tag: string): Promise; }