import { AllConfig } from "../../../config/types.js"; import { PackageCacheNamespace } from "./namespaces.js"; //#region lib/util/cache/package/backend.d.ts declare let cacheType: 'redis' | 'sqlite' | 'file' | undefined; declare function getCacheType(): typeof cacheType; declare function init(config: AllConfig): Promise; declare function get(namespace: PackageCacheNamespace, key: string): Promise; declare function set(namespace: PackageCacheNamespace, key: string, value: unknown, hardTtlMinutes: number): Promise; declare function destroy(): Promise; //#endregion export { destroy, get, getCacheType, init, set }; //# sourceMappingURL=backend.d.ts.map