import { Cache as Cache_2 } from '@epic-web/cachified';
import { KVNamespace as KVNamespace_2 } from '@cloudflare/workers-types/2023-07-01';

/**
 * Creates a cache adapter for Cloudflare's KV storage.
 * @param {CloudflareKvCacheConfig} config - Configuration options for the cache adapter.
 * @returns {Cache} A cache adapter instance for Cloudflare KV.
 */
export declare function cloudflareKvCacheAdapter<Value = unknown>(config: CloudflareKvCacheConfig): Cache_2<Value>;

/**
 * Configuration options for the Cloudflare KV cache adapter.
 * @property {KVNamespace} kv - The KVNamespace instance to interact with Cloudflare KV.
 * @property {string} [keyPrefix] - Optional prefix for all keys managed by this adapter.
 * @property {string} [name] - Optional name for the cache, defaults to "CloudflareKV".
 */
export declare type CloudflareKvCacheConfig = {
    kv: KVNamespace_2;
    keyPrefix?: string;
    name?: string;
};

export { }
