import type { FieldValues, ResponseData, FormStore, Maybe, FieldPath, FieldArrayPath, FieldPathValue, InitialValues } from '../types'; /** * Value type of the reset options. */ export type ResetOptions> = Partial<{ initialValue: FieldPathValue; initialValues: InitialValues; keepResponse: boolean; keepSubmitCount: boolean; keepSubmitted: boolean; keepValues: boolean; keepDirtyValues: boolean; keepItems: boolean; keepDirtyItems: boolean; keepErrors: boolean; keepTouched: boolean; keepDirty: boolean; }>; /** * Resets the entire form, several fields and field arrays or a singel field or * field array. * * @param form The form to be reset. * @param options The reset options. */ export declare function reset(form: FormStore, options?: Maybe>>): void; /** * Resets the entire form, several fields and field arrays or a singel field or * field array. * * @param form The form to be reset. * @param name The field or field array to be reset. * @param options The reset options. */ export declare function reset>(form: FormStore, name: TFieldName | FieldArrayPath, options?: Maybe>): void; /** * Resets the entire form, several fields and field arrays or a singel field or * field array. * * @param form The form to be reset. * @param names The fields and field arrays to be reset. * @param options The reset options. */ export declare function reset(form: FormStore, names: (FieldPath | FieldArrayPath)[], options?: Maybe>>): void;