import { type PluginModuleInstance } from 'ag-charts-core';
import type { AgChartInstance } from 'ag-charts-types';
import { ModuleMap } from '../module/moduleMap';
import type { ChartLegend, ChartLegendType } from './legend/legendDatum';
export type SelectionModuleFns = Pick<AgChartInstance, 'getSelection' | 'setSelection' | 'clearSelection'>;
export declare class ModulesManager extends ModuleMap<PluginModuleInstance> {
    legends(): Generator<{
        legendType: ChartLegendType;
        legend: ChartLegend;
    }>;
    selection(): SelectionModuleFns | undefined;
}
