import type Question from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-lib/v1/Question";
import type { Dispatch, GetState } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/store";
export type UpdateQuestionOpts = {
    run?: boolean;
    shouldUpdateUrl?: boolean;
    shouldStartAdHocQuestion?: boolean;
};
/**
 * Replaces the currently active question with the given Question object.
 */
export declare const UPDATE_QUESTION = "metabase/qb/UPDATE_QUESTION";
export declare const updateQuestion: (newQuestion: Question, { run, shouldStartAdHocQuestion, shouldUpdateUrl, }?: UpdateQuestionOpts) => (dispatch: Dispatch, getState: GetState) => Promise<void>;
export declare const SET_ARCHIVED_QUESTION = "metabase/question/SET_ARCHIVED_QUESTION";
export declare const setArchivedQuestion: (question: any, archived?: any, undoing?: any) => (dispatch: import("@reduxjs/toolkit").ThunkDispatch<any, any, any>, getState: GetState) => Promise<{
    type: "metabase/question/SET_ARCHIVED_QUESTION";
    payload: void;
}>;
