import { EChartsType } from 'echarts';
import { OnBrushedCallback } from '@openassistant/hooks';
import { OnSelected } from '@openassistant/plots';
/**
 * Handles brush selection events from ECharts components.
 * Manages highlighting and callback execution for brushed data points.
 *
 * @param eChart - ECharts instance
 * @param brushed - Array of indices that are currently brushed
 * @param datasetName - Name of the dataset being brushed
 * @param onBrushed - Optional callback function to handle brush selection
 * @param onSelected - Optional callback function to handle brush selection
 */
export declare function handleBrushSelection(eChart: EChartsType | undefined, brushed: number[], datasetName: string, onBrushed?: OnBrushedCallback, onSelected?: OnSelected): void;
/**
 * Handles the brush selection event from ECharts and processes the selected data indices.
 *
 * @param params - The brush selection event parameters from ECharts
 * @param params.batch - Array of batch selection data containing selected data indices
 * @param id - The identifier for the chart instance
 * @param datasetName - Name of the dataset being visualized
 * @param eChart - Optional ECharts instance reference
 * @param onSelected - Optional callback function to handle brush selection
 */
export declare function onBrushSelected(params: {
    batch: {
        selected: {
            dataIndex: number[];
        }[];
    }[];
}, id: string, datasetName: string, eChart?: EChartsType, onBrushed?: OnBrushedCallback, onSelected?: OnSelected): void;
