import type { Ref, InjectionKey, ComputedRef } from 'vue'; import type { TranslatePair, Language } from '../locales'; type Recordable = Record; export declare const localeContextKey: InjectionKey; export declare const useLocale: () => { lang: ComputedRef; localeRef: (Language & Ref) | Ref<{ name: string; sop: TranslatePair; }>; t: (path: string, option?: Recordable) => string; }; export {};