/**
 * KV Logger
 * Writes batches of log events to a KV namespace (Cloudflare Workers compatible)
 *
 * Enabled via env:
 *  - KV_LOG_ENABLED (default: false)
 *  - KV_NAMESPACE (binding name; default: 'CACHE')
 *  - KV_LOG_RETENTION_DAYS (default: 30)
 */
export type KvLogEvent = {
    timestamp: string;
    level: 'debug' | 'info' | 'warn' | 'error' | 'fatal';
    message: string;
    category?: string;
    data?: unknown;
    error?: string;
};
export declare const KvLogger: Readonly<{
    enqueue(event: KvLogEvent): Promise<void>;
}>;
export default KvLogger;
//# sourceMappingURL=KvLogger.d.ts.map