import type { TenantCache as CacheAbstraction } from "./abstractions.js"; import type { Tenant } from "../../../types/tenancy.js"; export interface TenantCacheBatchLoader { (ids: readonly string[]): Promise; } export declare class TenantCache implements CacheAbstraction.Interface { private loader; constructor(batchLoadFn: TenantCacheBatchLoader); get(id: string): Promise; getMany(ids: readonly string[]): Promise; clear(id: string): void; prime(id: string, tenant: Tenant | undefined): void; }