import { PackageCacheNamespace } from "./namespaces.js";

//#region lib/util/cache/package/redis.d.ts
declare function normalizeRedisUrl(url: string): string;
declare function end(): Promise<void>;
declare function get<T = never>(namespace: PackageCacheNamespace, key: string): Promise<T | undefined>;
declare function set(namespace: PackageCacheNamespace, key: string, value: unknown, hardTtlMinutes?: number): Promise<void>;
declare function init(url: string, prefix: string | undefined): Promise<void>;
//#endregion
export { end, get, init, normalizeRedisUrl, set };
//# sourceMappingURL=redis.d.ts.map