11 lines
391 B
TypeScript
11 lines
391 B
TypeScript
import type { ComputedRef } from 'vue';
|
|
import type { LocaleData } from 'vuepress/shared';
|
|
import type { ExactLocaleConfig } from '../../shared/index.js';
|
|
/**
|
|
* Get current locale config
|
|
*
|
|
* @param localesConfig client locale Config
|
|
* @returns current locale config
|
|
*/
|
|
export declare const useLocaleConfig: <T extends LocaleData>(localesConfig: ExactLocaleConfig<T>) => ComputedRef<T>;
|