import { ConfigBundled, ConfigProviderMemory } from '@basemaps/config';
import { SwappingLru } from './swapping.lru.js';
declare class LruConfig {
    configProvider: Promise<ConfigProviderMemory | null>;
    constructor(config: Promise<ConfigBundled | null>);
    get size(): number;
}
export declare class ConfigCache {
    cache: SwappingLru<LruConfig>;
    constructor(maxSize: number);
    get(location: URL): Promise<ConfigProviderMemory | null>;
}
/** Cache 20 configs (Around <30KB -> 5MB each)*/
export declare const CachedConfig: ConfigCache;
export {};
