import React, { FC } from 'react'; import type { FormInstance } from 'rc-field-form'; import type { NamePath } from 'rc-field-form/es/interface'; declare type RenderChildren = (changedValues: Record, form: FormInstance) => React.ReactNode; declare type ChildrenType = RenderChildren; export interface FormSubscribeProps { to: NamePath[]; children: ChildrenType; } export declare const FormSubscribe: FC; export declare const Watcher: React.NamedExoticComponent<{ form: FormInstance; namePath: NamePath; onChange: () => void; }>; export {};