import { e as IdempotencyStore } from '../types-CI-upMvQ.cjs'; import 'hono'; /** Minimal DurableObjectStorage subset (avoids @cloudflare/workers-types dependency). */ interface DurableObjectStorageLike { get(key: string): Promise; put(key: string, value: T): Promise; delete(key: string): Promise; list(options?: { prefix?: string; }): Promise>; } interface DurableObjectStoreOptions { /** Durable Object storage instance (from `this.ctx.storage` inside a DO class). */ storage: DurableObjectStorageLike; /** TTL in milliseconds (default: 86400000 = 24h). */ ttl?: number; } declare function durableObjectStore(options: DurableObjectStoreOptions): IdempotencyStore; export { type DurableObjectStorageLike, type DurableObjectStoreOptions, durableObjectStore };