import type { Language } from 'vue-cesium/es/locale'; import type { MaybeRef } from 'vue-cesium/es/utils/types'; import type { Ref } from 'vue'; export type TranslatorOption = Record; export type Translator = (path: string, option?: TranslatorOption) => string; export interface LocaleContext { locale: Ref; lang: Ref; t: Translator; } export declare function buildTranslator(locale: MaybeRef): Translator; export declare function translate(path: string, option: undefined | TranslatorOption, locale: Language): string; export declare function buildLocaleContext(locale: MaybeRef): LocaleContext; export declare function useLocale(): LocaleContext; //# sourceMappingURL=index.d.ts.map