export declare function camelize(str: string): string; /** * 获取字符长度 * 数字英文算一个字符长度 汉字算两个字符长度 */ export declare function getStringLen(str: string): number; /** * 多语言文案翻译 * @param msg 源文案 * @param options 格式化选项 * @example * translate('normal text') // 'normal text' * translate('已选 {num} 项', { num: 10 }) // '已选 10 项' * translate('escape {{ brace }} ') // 'escape brace' */ export declare function translate(msg: string, options: any): string;