import type { FormInstance } from "rc-field-form-modern"; import type { NamePath } from "rc-field-form-modern/dist/interface"; import type { FC, ReactNode } from "react"; import React from "react"; type RenderChildren = (changedValues: Record, form: FormInstance) => ReactNode; 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 {};