import { type PropsWithChildren } from "react";
import type Question from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-lib/v1/Question";
import type { CollectionId } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
import type { FormValues, SaveQuestionProps } from "./types";
type SaveQuestionContextType = {
    question: Question;
    originalQuestion: Question | null;
    initialValues: FormValues;
    handleSubmit: (details: FormValues) => Promise<void>;
    values: FormValues;
    setValues: (values: FormValues) => void;
    showSaveType: boolean;
    multiStep: boolean;
    saveToCollectionId?: CollectionId;
};
export declare const SaveQuestionContext: import("react").Context<SaveQuestionContextType | null>;
export declare const SaveQuestionProvider: ({ question, originalQuestion: latestOriginalQuestion, onCreate, onSave, multiStep, saveToCollectionId, children, }: PropsWithChildren<SaveQuestionProps>) => import("react/jsx-runtime").JSX.Element;
export declare const useSaveQuestionContext: () => SaveQuestionContextType;
export {};
