import type { EChartsType } from "echarts/core";
import type { SankeyChartColumns, SankeyLink, SankeyNode } from "../../../visualizations/echarts/graph/sankey/model/types";
import type { EChartsSeriesMouseEvent } from "../../../visualizations/echarts/types";
import type { ClickObject, ComputedVisualizationSettings, VisualizationProps } from "../../../visualizations/types";
import type { EChartsEventHandler } from "../../../visualizations/types/echarts";
import type { RawSeries } from "../../../../metabase-types/api";
export declare const createSankeyClickData: (event: EChartsSeriesMouseEvent<SankeyLink | SankeyNode>, sankeyColumns: SankeyChartColumns, rawSeries: RawSeries, settings: ComputedVisualizationSettings) => ClickObject | undefined;
export declare const useChartEvents: (chartRef: React.MutableRefObject<EChartsType | undefined>, sankeyColumns: SankeyChartColumns, rawSeries: RawSeries, settings: ComputedVisualizationSettings, onVisualizationClick: VisualizationProps["onVisualizationClick"], clicked?: ClickObject) => {
    eventHandlers: EChartsEventHandler[];
};
