import Question from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-lib/v1/Question";
import type { Card, DatasetQuery } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
import type { Dispatch, GetState } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/store";
import { API_UPDATE_QUESTION, SOFT_RELOAD_CARD } from "./types";
export declare const RESET_QB = "metabase/qb/RESET_QB";
export declare const resetQB: import("redux-actions").ActionFunctionAny<import("redux-actions").Action<any>>;
export { SOFT_RELOAD_CARD };
export declare const softReloadCard: () => (dispatch: import("@reduxjs/toolkit").ThunkDispatch<any, any, any>, getState: GetState) => Promise<{
    type: "metabase/qb/SOFT_RELOAD_CARD";
    payload: any;
}>;
export declare const RELOAD_CARD = "metabase/qb/RELOAD_CARD";
export declare const reloadCard: () => (dispatch: import("@reduxjs/toolkit").ThunkDispatch<any, any, any>, getState: GetState) => Promise<{
    type: "metabase/qb/RELOAD_CARD";
    payload: any;
}>;
/**
 * `setCardAndRun` is used when:
 *     - navigating browser history
 *     - clicking in the entity details view
 *     - `navigateToNewCardInsideQB` is being called (see below)
 */
export declare const SET_CARD_AND_RUN = "metabase/qb/SET_CARD_AND_RUN";
export declare const setCardAndRun: (nextCard: Card, { shouldUpdateUrl }?: {
    shouldUpdateUrl?: boolean | undefined;
}) => (dispatch: Dispatch, getState: GetState) => Promise<void>;
/**
 * User-triggered events that are handled with this action:
 *     - clicking a legend:
 *         * series legend (multi-aggregation, multi-breakout, multiple questions)
 *     - clicking the visualization itself
 *         * drill-through (single series, multi-aggregation, multi-breakout, multiple questions)
 *     - clicking an action widget action
 *
 * All these events can be applied either for an unsaved question or a saved question.
 */
export declare const NAVIGATE_TO_NEW_CARD = "metabase/qb/NAVIGATE_TO_NEW_CARD";
export declare const navigateToNewCardInsideQB: (args_0: any) => (dispatch: import("@reduxjs/toolkit").ThunkDispatch<any, any, any>, getState: GetState) => Promise<{
    type: "metabase/qb/NAVIGATE_TO_NEW_CARD";
    payload: void;
}>;
export declare const setDatasetQuery: (datasetQuery: DatasetQuery) => (dispatch: Dispatch, getState: GetState) => void;
export declare const API_CREATE_QUESTION = "metabase/qb/API_CREATE_QUESTION";
export declare const apiCreateQuestion: (question: Question) => (dispatch: Dispatch, getState: GetState) => Promise<Question>;
export { API_UPDATE_QUESTION };
export declare const apiUpdateQuestion: (question: Question, { rerunQuery }?: {
    rerunQuery?: boolean;
}) => (dispatch: Dispatch, getState: GetState) => Promise<void>;
export declare const SET_PARAMETER_VALUE = "metabase/qb/SET_PARAMETER_VALUE";
export declare const setParameterValue: import("redux-actions").ActionFunction2<string, string | string[], import("redux-actions").Action<{
    id: string;
    value: string | string[] | null;
}>>;
export declare const SET_PARAMETER_VALUE_TO_DEFAULT = "metabase/qb/SET_PARAMETER_VALUE_TO_DEFAULT";
export declare const setParameterValueToDefault: (parameterId: any) => (dispatch: import("@reduxjs/toolkit").ThunkDispatch<any, any, any>, getState: GetState) => Promise<{
    type: "metabase/qb/SET_PARAMETER_VALUE_TO_DEFAULT";
    payload: void;
}>;
export declare const REVERT_TO_REVISION = "metabase/qb/REVERT_TO_REVISION";
export declare const revertToRevision: (revision: any) => (dispatch: import("@reduxjs/toolkit").ThunkDispatch<any, any, any>, getState: GetState) => Promise<{
    type: "metabase/qb/REVERT_TO_REVISION";
    payload: void;
}>;
