import type { CacheValue, IncrementalCache, WithLastModified } from "@opennextjs/aws/types/overrides.js"; export declare const NAME = "cf-kv-incremental-cache"; export declare const BINDING_NAME = "NEXT_INC_CACHE_KV"; export type KeyOptions = { isFetch?: boolean; buildId?: string; }; export declare function computeCacheKey(key: string, options: KeyOptions): string; /** * Open Next cache based on Cloudflare KV. * * Note: The class is instantiated outside of the request context. * The cloudflare context and process.env are not initialized yet * when the constructor is called. */ declare class KVIncrementalCache implements IncrementalCache { readonly name = "cf-kv-incremental-cache"; get(key: string, isFetch?: IsFetch): Promise> | null>; set(key: string, value: CacheValue, isFetch?: IsFetch): Promise; delete(key: string): Promise; protected getKVKey(key: string, isFetch?: boolean): string; } declare const _default: KVIncrementalCache; export default _default;