export declare class PluginLoadReentryError extends Error {
    readonly cacheKey: string;
    constructor(cacheKey: string);
}
export declare class PluginLoaderCacheState<T> {
    #private;
    constructor(defaultMaxEntries: number);
    get maxEntries(): number;
    setMaxEntriesForTest(value?: number): void;
    clear(): void;
    get(cacheKey: string): T | undefined;
    set(cacheKey: string, state: T): void;
    isLoadInFlight(cacheKey: string): boolean;
    beginLoad(cacheKey: string): void;
    finishLoad(cacheKey: string): void;
    hasOpenAllowlistWarning(cacheKey: string): boolean;
    recordOpenAllowlistWarning(cacheKey: string): void;
}
