import { FormInstance } from 'antd/es/form/Form'; import { NamePath } from 'antd/es/form/interface'; export declare function toArray(value?: T | T[] | null): T[]; /** * ProForm的useWatch hook,用于监听表单字段变化 * @param dependencies 监听的字段路径 * @param form 表单实例 * @param wait 防抖等待时间 * @returns 表单值 */ declare function useWatch(dependencies: string | NamePath[], form?: FormInstance, wait?: number): any; export default useWatch;