UNPKG

@mdfriday/foundry

Version:

The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.

19 lines (18 loc) 1.05 kB
export type { LanguageDirection, LanguageInfo, LanguageService } from './types'; export { LTR_LANGUAGES, RTL_LANGUAGES, ALL_LANGUAGES, LANGUAGE_MAP, CODE_NAME_MAP } from './data'; export { DefaultLanguageService, getLanguageService, createLanguageService } from './service'; export declare const lang: import("./types").LanguageService; export declare const languages: { getAllCodes: () => string[]; getAllNames: () => string[]; getCodesByDirection: (direction: "ltr" | "rtl") => string[]; getNamesByDirection: (direction: "ltr" | "rtl") => string[]; getCodeNameMap: () => Record<string, string>; getCodeNameMapByDirection: (direction: "ltr" | "rtl") => Record<string, string>; getNameByCode: (code: string) => string | undefined; getLanguageInfo: (code: string) => import("./types").LanguageInfo | undefined; isSupported: (code: string) => boolean; getDirection: (code: string) => import("./types").LanguageDirection | undefined; isLTR: (code: string) => boolean; isRTL: (code: string) => boolean; };