import { MaybeRef } from 'vue';
import { Locale, LocaleContext, Translator, TranslatorOption } from './types';
/**
 * 翻译文本
 * @param path 翻译路径
 * @param option 翻译选项
 * @param locale 语言包
 * @returns 翻译后的文本
 */
export declare const translate: (path: string, option: undefined | TranslatorOption, locale: Locale) => string;
/**
 * 构建翻译器
 * @param locale 语言包
 * @returns 翻译器
 */
export declare const buildTranslator: (locale: MaybeRef<Locale>) => Translator;
/**
 * 构建语言包上下文
 * @param locale 语言包
 * @returns 语言包上下文
 */
export declare const buildLocaleContext: (locale: MaybeRef<Locale>) => LocaleContext;
//# sourceMappingURL=utils.d.ts.map