import { BlockHeightCacheResult, BlockHeightKey, BlockHeightSwCache } from '../index'; /** * A simple, in-memory cache implementation of the BlockHeightSwCache */ export declare class MemBlockHeightSwCache implements BlockHeightSwCache { private maxStoredBlockHeights; private readonly logger; protected storage: { [key: string]: Map; }; constructor(maxStoredBlockHeights?: number); getLast(key: string): Promise | null>; getLessOrEqual(key: string, blockHeight: number): Promise | null>; put({ cacheKey, blockHeight }: BlockHeightKey, value: V): Promise; protected putSync({ cacheKey, blockHeight }: BlockHeightKey, value: V): void; contains(key: string): Promise; protected containsSync(key: string): boolean; get(key: string, blockHeight: number, returnDeepCopy?: boolean): Promise | null>; flush(): Promise; } //# sourceMappingURL=MemBlockHeightCache.d.ts.map