import type { ICache, Plugin } from '../types'; declare class PluginCache implements ICache { #private; static _inst: PluginCache; [Symbol.iterator](): { next: () => { value: Plugin.Object | undefined; done: boolean; }; }; get length(): number; add(location: Plugin.Location, obj: Plugin.Object): Plugin.Object; clear(): this; get(location?: Plugin.Location): Map; get(): Plugin.Object[]; has(id: string | undefined): boolean; remove(id: string | undefined): Plugin.Object | null; } export default PluginCache;