import type { Control, DeepPartialSkipArrayKey, FieldPath, FieldPathValue, FieldPathValues, FieldValues } from './types'; /** Watches the entire form; re-renders when any value changes. */ export declare function useWatch(props: { name?: undefined; defaultValue?: DeepPartialSkipArrayKey; control?: Control; disabled?: boolean; exact?: boolean; compute?: undefined; }): DeepPartialSkipArrayKey; /** Watches a single field by name. */ export declare function useWatch = FieldPath, TTransformedValues = TFieldValues>(props: { name: TFieldName; defaultValue?: FieldPathValue; control?: Control; disabled?: boolean; exact?: boolean; compute?: undefined; }): FieldPathValue; /** Watches the entire form and derives a value via `compute`. */ export declare function useWatch(props: { name?: undefined; defaultValue?: DeepPartialSkipArrayKey; control?: Control; disabled?: boolean; exact?: boolean; compute: (formValues: TFieldValues) => TComputeValue; }): TComputeValue; /** Watches a single field and derives a value via `compute`. */ export declare function useWatch = FieldPath, TTransformedValues = TFieldValues, TComputeValue = unknown>(props: { name: TFieldName; defaultValue?: FieldPathValue; control?: Control; disabled?: boolean; exact?: boolean; compute: (fieldValue: FieldPathValue) => TComputeValue; }): TComputeValue; /** Watches multiple fields by name array. */ export declare function useWatch[] = readonly FieldPath[], TTransformedValues = TFieldValues>(props: { name: readonly [...TFieldNames]; defaultValue?: DeepPartialSkipArrayKey; control?: Control; disabled?: boolean; exact?: boolean; compute?: undefined; }): FieldPathValues; /** Watches multiple fields and derives a value via `compute`. */ export declare function useWatch[] = readonly FieldPath[], TTransformedValues = TFieldValues, TComputeValue = unknown>(props: { name: readonly [...TFieldNames]; defaultValue?: DeepPartialSkipArrayKey; control?: Control; disabled?: boolean; exact?: boolean; compute: (fieldValue: FieldPathValues) => TComputeValue; }): TComputeValue; /** Watches the entire form; reads `control` from `FormProvider` context. */ export declare function useWatch(): DeepPartialSkipArrayKey; //# sourceMappingURL=useWatch.d.ts.map