import type { ActionFormInitialValues, ParametersForActionExecution, WritebackAction } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
type Opts = {
    action: WritebackAction;
    initialValues?: ActionFormInitialValues;
    prefetchesInitialValues?: boolean;
};
declare function useActionForm({ action: { parameters, visualization_settings }, initialValues, prefetchesInitialValues, }: Opts): {
    form: import("../../types").ActionFormProps;
    validationSchema: import("yup/lib/object").OptionalObjectSchema<any, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<any>>;
    initialValues: {
        [x: string]: string | number | null;
    };
    getCleanValues: (values?: ParametersForActionExecution) => ParametersForActionExecution;
};
export default useActionForm;
