import type { UpdateQuestionOpts } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/query_builder/actions/core/updateQuestion";
import type { QueryModalType } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/query_builder/constants";
import type Question from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-lib/v1/Question";
import type { Alert, Card, User } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
import type { QueryBuilderMode, QueryBuilderUIControls } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/store";
interface QueryModalsProps {
    questionAlerts: Alert[];
    user: User;
    modal: QueryModalType;
    modalContext: number;
    question: Question;
    updateQuestion: (question: Question, config?: UpdateQuestionOpts) => void;
    setQueryBuilderMode: (mode: QueryBuilderMode) => void;
    setUIControls: (opts: Partial<QueryBuilderUIControls>) => void;
    originalQuestion: Question;
    card: Card;
    onCreate: (question: Question) => Promise<void>;
    onSave: (question: Question, config?: {
        rerunQuery: boolean;
    }) => Promise<void>;
    onCloseModal: () => void;
    onOpenModal: (modalType: QueryModalType) => void;
    onChangeLocation: (location: string) => void;
}
export declare function QueryModals({ questionAlerts, user, onSave, onCreate, updateQuestion, modal, modalContext, card, question, onCloseModal, onOpenModal, setQueryBuilderMode, originalQuestion, onChangeLocation, }: QueryModalsProps): import("react/jsx-runtime").JSX.Element | null;
export {};
