import type Question from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-lib/v1/Question";
import type { Dataset } 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";
export declare const SET_DOCUMENT_TITLE = "metabase/qb/SET_DOCUMENT_TITLE";
export declare const SET_SHOW_LOADING_COMPLETE_FAVICON = "metabase/qb/SET_SHOW_LOADING_COMPLETE_FAVICON";
export declare const SET_DOCUMENT_TITLE_TIMEOUT_ID = "metabase/qb/SET_DOCUMENT_TITLE_TIMEOUT_ID";
export declare const runDirtyQuestionQuery: () => (dispatch: Dispatch, getState: GetState) => Promise<unknown>;
/**
 * Queries the result for the currently active question or alternatively for the card question provided in `overrideWithQuestion`.
 * The API queries triggered by this action creator can be cancelled using the deferred provided in RUN_QUERY action.
 */
export declare const RUN_QUERY = "metabase/qb/RUN_QUERY";
export declare const runQuestionQuery: ({ shouldUpdateUrl, ignoreCache, overrideWithQuestion, }?: {
    shouldUpdateUrl?: boolean;
    ignoreCache?: boolean;
    overrideWithQuestion?: Question | null;
}) => (dispatch: Dispatch, getState: GetState) => Promise<void>;
export declare const CLEAR_QUERY_RESULT = "metabase/query_builder/CLEAR_QUERY_RESULT";
export declare const clearQueryResult: import("redux-actions").ActionFunctionAny<import("redux-actions").Action<any>>;
export declare const QUERY_COMPLETED = "metabase/qb/QUERY_COMPLETED";
export declare const queryCompleted: (question: Question, queryResults: Dataset[]) => (dispatch: Dispatch, getState: GetState) => Promise<void>;
export declare const QUERY_ERRORED = "metabase/qb/QUERY_ERRORED";
export declare const queryErrored: (startTime: any, error: any) => (dispatch: import("@reduxjs/toolkit").ThunkDispatch<any, any, any>, getState: GetState) => Promise<{
    type: "metabase/qb/QUERY_ERRORED";
    payload: {
        error: any;
        duration: number;
    } | null;
}>;
export declare const CANCEL_QUERY = "metabase/qb/CANCEL_QUERY";
export declare const cancelQuery: () => (dispatch: Dispatch, getState: GetState) => {
    type: string;
} | undefined;
