import type { ActionFormInitialValues, ParametersForActionExecution, WritebackAction } from "../../../../metabase-types/api";
type Opts = {
    action: WritebackAction;
    initialValues?: ActionFormInitialValues;
};
declare function useActionForm({ action: { parameters, visualization_settings }, initialValues, }: 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 | boolean | null;
    };
    getCleanValues: (values?: ParametersForActionExecution) => ParametersForActionExecution;
};
export default useActionForm;
