import type { FieldValues, UseFormReturn } from 'react-hook-form'; /** * Runs react-hook-form's own submit lifecycle (via handleSubmit) so * formState.isSubmitted flips to true and every field's validation/error * state is revealed, without performing a native form submit. Resolves * onValid's result, or false when validation fails, so callers can skip * side-effecting work without needing to re-check formState themselves. */ export declare const submitFormWithValidation: (form: UseFormReturn, onValid: () => Promise | boolean) => Promise; //# sourceMappingURL=formSubmit.util.d.ts.map