import { CacheResult, DidCache, DidDocument } from '../types.js'; type CacheVal = { doc: DidDocument; updatedAt: number; }; export declare class MemoryCache implements DidCache { staleTTL: number; maxTTL: number; constructor(staleTTL?: number, maxTTL?: number); cache: Map; cacheDid(did: string, doc: DidDocument): Promise; refreshCache(did: string, getDoc: () => Promise): Promise; checkCache(did: string): Promise; clearEntry(did: string): Promise; clear(): Promise; } export {}; //# sourceMappingURL=memory-cache.d.ts.map