import { Component } from "react";
import type { Card, DashCardDataMap, DashCardId, QuestionDashboardCard } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
export interface Props {
    dashcard: QuestionDashboardCard;
    dashcardData: DashCardDataMap;
    fetchCardData: (card: Card, dashcard: QuestionDashboardCard, options: {
        clearCache?: boolean;
        ignoreCache?: boolean;
        reload?: boolean;
    }) => Promise<unknown>;
    setDashCardAttributes: (options: {
        id: DashCardId;
        attributes: Partial<QuestionDashboardCard>;
    }) => void;
    onClose: () => void;
}
interface State {
    error: unknown;
    isLoading: boolean;
    series: NonNullable<QuestionDashboardCard["series"]>;
}
export declare class AddSeriesModal extends Component<Props, State> {
    constructor(props: Props, context: unknown);
    static defaultProps: {};
    handleQuestionSelectedChange: (card: Card, selected: boolean) => Promise<void>;
    handleRemoveSeries: (_event: MouseEvent, removedIndex: number) => void;
    handleDone: () => void;
    render(): import("react/jsx-runtime").JSX.Element;
}
export {};
