export declare function useFormHandler(): {
    stateForm: import("../index.js").StateFormFormHandler;
    onSubmit: (action?: import("../index.js").ICustomSubmitProps["action"], configs?: import("../index.js").OnSubmitConfiguration) => Promise<void>;
    values: any;
    setFieldValue: (field: string, value: any, shouldValidate?: boolean) => Promise<void | import("formik").FormikErrors<any>>;
    formHandlerContextProps?: any;
};
