import { Field } from '../../src/components/form/types'; import { Column } from '../../src/components/table/types'; /** * 等待所有异步 Promise 与 Vue DOM 更新完成 */ export declare const flushPromises: () => Promise; /** * 挂载 ProForm 辅助函数 */ export declare const mountProForm: (options?: { form?: any; fields?: Field[]; initialData?: Record; props?: Record; slots?: Record; }) => { wrapper: import('@vue/test-utils').VueWrapper>>; form: any; }; /** * 挂载 ProTable 辅助函数 */ export declare const mountProTable: (options?: { table?: any; columns?: Column[]; dataSource?: any[]; search?: () => Promise | any; props?: Record; slots?: Record; }) => { wrapper: import('@vue/test-utils').VueWrapper>>; table: any; }; /** * 断言 console.warn 产生匹配警告 */ export declare const expectWarn: (spy: any, matcher: string | RegExp) => void; //# sourceMappingURL=mount.d.ts.map