export declare class RemoteCacheHandler { /** next.js options */ options: any; /** server url */ url: URL; /** * remote cache handler * @param options next.js options * @param url server url * @param unique build id */ constructor(options: RemoteCacheHandler["options"], url: string, buildId: string); /** * 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; /** * revalidate tag in cache */ deleteOld(): Promise; }