import { SentinelConfig } from '../types'; /** * Cloudflare Worker / Vercel Edge Adapter Options */ export interface EdgeAdapterOptions extends SentinelConfig { /** * KV Namespace (for Cloudflare) or reference to Edge Config (for Vercel) */ cache?: { get: (key: string) => Promise; put: (key: string, value: string, options?: { expirationTtl: number; }) => Promise; }; /** * Cache TTL in seconds (default: 300 / 5 minutes) */ cacheTtl?: number; } /** * Sentinel Edge Adapter (Cloudflare Workers / Vercel Edge Runtime) * Optimized for sub-5ms local enforcement using KV/Edge caches. */ export declare const sentinelEdge: (options: EdgeAdapterOptions) => (request: Request, context?: any) => Promise; //# sourceMappingURL=adapter.d.ts.map