import { Doc } from '../../core';
export declare function createFormValidator(): {
    validateField: (key: string, value: any, rules: any[], formData: Record<string, any>) => Promise<any>;
    validateAll: (rulesMap: Record<string, any>, formData: Record<string, any>) => Promise<any>;
};
/** 校验全部字段 */
export declare const validateAllFields: (doc: Doc) => Promise<any>;
