import { FieldValues, UseFormReturn } from 'react-hook-form'; export type SubmitChangedPatch = (dirty: Partial, all: TFieldValues) => Promise; export interface SubmitChangedOptions { touchInvalidFields?: boolean; } /** * Does not set react-hook-form `formState.isSubmitting`; callers drive the busy state from their own pending flag. */ export declare function submitChanged(methods: UseFormReturn, onPatch: SubmitChangedPatch, onInvalid?: () => void, options?: SubmitChangedOptions): Promise;