import type { Deferred } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/lib/promise";
import type { QueryParams } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/query_builder/actions";
import type { ObjectId } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/visualizations/components/ObjectDetail/types";
import type Question from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-lib/v1/Question";
import type { Card, CardId } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
export interface SdkQuestionState {
    question?: Question;
    queryResults?: any[];
}
export interface LoadSdkQuestionParams {
    options?: QueryParams;
    deserializedCard?: Card;
    cardId?: CardId | null;
    cancelDeferred?: Deferred;
}
export interface NavigateToNewCardParams {
    nextCard: Card;
    previousCard: Card;
    objectId: ObjectId;
    cancelDeferred?: Deferred;
}
