import { Store } from "@auth0/ai/stores"; export interface KVNamespace { get(key: string, options?: { type?: string; cacheTtl?: number; }): Promise; put(key: string, value: any, options?: { expiration?: number; expirationTtl?: number; }): Promise; delete(key: string): Promise; } export interface CloudflareKVStoreOptions { /** * KV namespace binding to use for storage */ kv: KVNamespace; /** * Session prefix in KV store (default: 'auth0-ai') */ prefix?: string; } /** * Auth0AI Store implementation using Cloudflare KV Namespaces */ export declare class CloudflareKVStore implements Store { private kv; private prefix; /** * Creates a new KV Auth0AI store */ constructor(options: CloudflareKVStoreOptions); private getKey; get(namespace: string[], key: string): Promise; delete(namespace: string[], key: string): Promise; put(namespace: string[], key: string, value: any, options?: { expiresIn?: number; }): Promise; } //# sourceMappingURL=CloudflareKVStore.d.ts.map