import type { EChartsTooltipModel, EChartsTooltipRow } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/visualizations/components/ChartTooltip/EChartsTooltip";
import type { BaseCartesianChartModel, DataKey, Datum, DimensionModel, SeriesModel, StackModel } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/visualizations/echarts/cartesian/model/types";
import type { TimelineEventsModel } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/visualizations/echarts/cartesian/timeline-events/types";
import type { EChartsSeriesBrushEndEvent, EChartsSeriesMouseEvent } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/visualizations/echarts/types";
import type { ComputedVisualizationSettings, OnChangeCardAndRun } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/visualizations/types";
import type { ClickObject, ClickObjectDimension } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-lib";
import type Metadata from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-lib/v1/metadata/Metadata";
import type { CardDisplayType, RawSeries, TimelineEvent, TimelineEventId } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
export declare const parseDataKey: (dataKey: DataKey) => {
    cardId: Nullable<number>;
    columnName: string;
    breakoutValue: string | undefined;
};
export declare const getEventDimensions: (chartModel: BaseCartesianChartModel, datum: Datum, dimensionModel: DimensionModel, seriesModel: SeriesModel) => ClickObjectDimension[];
export declare const canBrush: (series: RawSeries, settings: ComputedVisualizationSettings, onChangeCardAndRun?: OnChangeCardAndRun) => boolean;
export declare const getSeriesHovered: (chartModel: BaseCartesianChartModel, event: EChartsSeriesMouseEvent) => {
    index: number;
    datumIndex: number;
} | undefined;
export declare const getTooltipModel: (chartModel: BaseCartesianChartModel, settings: ComputedVisualizationSettings, echartsDataIndex: number, display: CardDisplayType, seriesDataKey: DataKey) => EChartsTooltipModel | null;
export declare const mergeSeriesRowsAndAdditionalColumnsRows: (seriesRows: EChartsTooltipRow[], additionalColumnsRows: EChartsTooltipRow[], hoveredSeries: SeriesModel) => EChartsTooltipRow[];
export declare const getSeriesOnlyTooltipModel: (chartModel: BaseCartesianChartModel, settings: ComputedVisualizationSettings, datum: Datum, dataIndex: number, display: CardDisplayType, hoveredSeries: SeriesModel) => EChartsTooltipModel | null;
export declare const getStackedTooltipModel: (chartModel: BaseCartesianChartModel, settings: ComputedVisualizationSettings, seriesStack: StackModel, seriesDataKey: DataKey, dataIndex: number, datum: Datum, hoveredSeries: SeriesModel) => EChartsTooltipModel | null;
export declare const getOtherSeriesTooltipModel: (chartModel: BaseCartesianChartModel, settings: ComputedVisualizationSettings, dataIndex: number, datum: Datum) => {
    header: string;
    rows: {
        name: string;
        values: (string | number | import("react/jsx-runtime").JSX.Element | null)[];
    }[];
};
export declare const getTimelineEventsForEvent: (timelineEventsModel: TimelineEventsModel, event: EChartsSeriesMouseEvent) => TimelineEvent[] | undefined;
export declare const hasSelectedTimelineEvents: (timelineEvents: TimelineEvent[], selectedTimelineEventIds?: TimelineEventId[]) => boolean;
export declare const getTimelineEventsHoverData: (timelineEventsModel: TimelineEventsModel, event: EChartsSeriesMouseEvent) => {
    element: Element | undefined;
    timelineEvents: TimelineEvent[] | undefined;
};
export declare const getGoalLineHoverData: (settings: ComputedVisualizationSettings, event: EChartsSeriesMouseEvent) => {
    element: Element;
    data: {
        col: null;
        key: string;
        value: string | number;
    }[];
} | null;
export declare const getSeriesClickData: (chartModel: BaseCartesianChartModel, settings: ComputedVisualizationSettings, event: EChartsSeriesMouseEvent) => ClickObject | undefined;
export declare const getBrushData: (rawSeries: RawSeries, metadata: Metadata, chartModel: BaseCartesianChartModel, event: EChartsSeriesBrushEndEvent) => {
    nextCard: import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").Card<import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").DatasetQuery>;
    previousCard: import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").Card<import("@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api").DatasetQuery>;
} | null;
