import type { PageData } from '@vuepress/shared';
import type { ComputedRef, InjectionKey } from 'vue';
/**
 * Page language
 */
export declare type PageLang = string;
/**
 * Ref wrapper of `PageLang`
 */
export declare type PageLangRef = ComputedRef<PageLang>;
/**
 * Injection key for page language
 */
export declare const pageLangSymbol: InjectionKey<PageLangRef>;
/**
 * Returns the ref of the language of current page
 */
export declare const usePageLang: () => PageLangRef;
/**
 * Resolve page language from page data
 *
 * It would be used as the `lang` attribute of `<html>` tag
 */
export declare const resolvePageLang: (pageData: PageData) => PageLang;
