/** * Redis namespace isolation. * * Every subsystem MUST prefix its keys with its assigned namespace. * This allows future sharding or partial migration without key rewrites. */ export declare const REDIS_NAMESPACES: { readonly BULLMQ: "bullmq"; readonly STREAM: "stream"; readonly LEASE: "lease"; readonly QUOTA: "quota"; readonly RATELIMIT: "ratelimit"; readonly HEARTBEAT: "heartbeat"; readonly CACHE: "cache"; readonly SESSION: "session"; }; export type RedisNamespace = (typeof REDIS_NAMESPACES)[keyof typeof REDIS_NAMESPACES]; export declare function withNamespace(namespace: RedisNamespace, key: string): string; export declare function stripNamespace(namespacedKey: string): { namespace: string; key: string; }; //# sourceMappingURL=redis-namespaces.d.ts.map