import type { CrudFormItem } from '../../../typings/admin/comm/crud';
/** required 支持函数：按表单态（如新增/编辑）动态必填 */
export declare function resolveItemRequired(item: CrudFormItem, form: Record<string, unknown>): boolean;
/** 按字段返回校验错误（字段下红字） */
export declare function validateFormFields(items: CrudFormItem[], form: Record<string, unknown>): Promise<Record<string, string>>;
/** setRules：required 自动补全 rules（若尚未配置）；函数 required 运行时再解析 */
export declare function applySetRules(items: CrudFormItem[]): CrudFormItem[];
