Urara-Blog/node_modules/.pnpm-store/v3/files/83/af71e6ae85128a7d61da5754bba399095bff826f867b7378eda9a65fc0453de93dcd8f18ce81d567560db44ecd85d649071778bb385da3a52c92256bbbfce1
2022-08-14 01:14:53 +08:00

11 lines
690 B
Text

import type { PreprocessorArgs } from '../types';
export declare const ALIAS_MAP: Map<string, string>;
export declare const SOURCE_MAP_PROP_MAP: Record<string, [string[], any]>;
export declare function getLanguageDefaults(lang?: string | null): null | Record<string, any>;
export declare function addLanguageAlias(entries: Array<[string, string]>): void;
export declare function getLanguageFromAlias(alias?: string | null): string | null | undefined;
export declare function isAliasOf(alias?: string | null, lang?: string | null): boolean;
export declare const getLanguage: (attributes: PreprocessorArgs['attributes']) => {
lang: string | null | undefined;
alias: string | null;
};