import { Lang } from '../i18n';
export declare function matchLanguage(lang: string, translates: Record<string, string>): string;
/**
 * 生成需要的基础词典
 * @param fields 字段映射对象
 * @returns 处理后的语言对象
 */
export declare function generateFields(fields: Record<string, any>): Lang;
/**
 * 生成 placeholder
 * @param fields 字段对象
 * @param inputFields 输入框字段列表
 * @param selectFields 选择框字段列表
 * @returns 生成的 placeholder 对象
 */
export declare function generatePlaceholders(fields: Lang, inputFields?: string[], selectFields?: string[], inputPrefix?: string, selectPrefix?: string): Lang;
export declare const LanguageUtils: {
    matchLanguage: typeof matchLanguage;
    generateFields: typeof generateFields;
    generatePlaceholders: typeof generatePlaceholders;
};
