import type { ModuleInstance } from 'ag-charts-core';
export declare class ModuleMap<T extends ModuleInstance = ModuleInstance> {
    protected moduleMap: Map<string, T>;
    modules(): IterableIterator<T>;
    addModule(moduleName: string, moduleInstance: T): void;
    removeModule(moduleName: string): void;
    getModule(moduleName: string): T | undefined;
    isEnabled(moduleName: string): boolean;
    mapModules<R>(callback: (value: T, index: number) => R): R[];
    destroy(): void;
}
