import type { CloudflareKvAdapterOptions, SetOptions } from '../types'; import { BaseStorageAdapter } from './base'; export declare class CloudflareKvStorageAdapter extends BaseStorageAdapter { protected readonly backendName = "cloudflare-kv"; private readonly kv; private readonly keyPrefix; constructor(options: CloudflareKvAdapterOptions); connect(): Promise; disconnect(): Promise; ping(): Promise; get(key: string): Promise; protected doSet(key: string, value: string, options?: SetOptions): Promise; delete(key: string): Promise; exists(key: string): Promise; expire(key: string, ttlSeconds: number): Promise; ttl(_key: string): Promise; keys(pattern?: string): Promise; incr(key: string): Promise; decr(key: string): Promise; incrBy(_key: string, _amount: number): Promise; protected getPubSubSuggestion(): string; /** Validate + enforce KV's 60s minimum `expirationTtl`. */ private toExpirationTtl; private prefixKey; private unprefixKey; }