import type { SdkQuestionState } from "../../types/question";
import type { Deferred } from "../../../../../../frontend/src/metabase/lib/promise";
import Question from "../../../../../../frontend/src/metabase-lib/v1/Question";
import type { Dispatch, GetState } from "../../../../../../frontend/src/metabase-types/store";
interface UpdateQuestionParams {
    previousQuestion: Question;
    nextQuestion: Question;
    originalQuestion?: Question;
    shouldStartAdHocQuestion?: boolean;
    queryResults?: any[];
    cancelDeferred?: Deferred;
    /** Optimistic update the question in the query builder UI */
    optimisticUpdateQuestion: (question: Question) => void;
    /** Whether to run the query by default? */
    shouldRunQueryOnQuestionChange?: boolean;
}
export declare const updateQuestionSdk: (params: UpdateQuestionParams) => (dispatch: Dispatch, getState: GetState) => Promise<SdkQuestionState>;
export {};
