import { CogTiff } from '@cogeotiff/core';
/** Limit the caching of tiffs */
export declare class TiffCache {
    static cacheA: Map<string, CogTiff>;
    static cacheB: Map<string, CogTiff>;
    /** 256 MB Cache */
    static MaxCacheSizeBytes: number;
    static get(id: string): CogTiff | null;
    /** Reset the cache */
    static clear(): void;
    static set(id: string, tiff: CogTiff): void;
    /** Validate the size of the cache has not exploded */
    static check(): void;
    /** Calculate the total number of bytes used by this tiff cache */
    static get currentSize(): number;
}
//# sourceMappingURL=tiff.cache.d.ts.map