declare module '@arco-design/web-vue/es/form' { import { RuleItem } from '@arco-design/web-vue/es/form/interface'; export interface ValidatedError { field: string; fieldValue: any; message: string; } export interface FormInstance { validate: (fields?: string[]) => Promise<{ errors: ValidatedError[] | null; values: Record; }>; validateField: (field: string) => Promise<{ error: ValidatedError | null; value: any; }>; resetFields: (fields?: string[]) => void; clearValidate: (fields?: string[]) => void; setFields: (data: Record) => void; getFields: () => Record; getFieldsValue: () => Record; getFieldValue: (field: string) => any; setFieldValue: (field: string, value: any) => void; setFieldsValue: (values: Record) => void; clearFields: (fields?: string[]) => void; } }