intlayer
Version:
Manage internationalization i18n in a simple way, through TypeScript, declaration file, declare your multilingual content every where in your code.
29 lines • 1.42 kB
TypeScript
export * from '@intlayer/config/client';
import { type CustomIntlayerConfig as IntlayerConfig } from '@intlayer/config/client';
import type { Dictionary as DictionaryCore } from '@intlayer/core';
type Dictionary<T = undefined> = DictionaryCore<T, true>;
/**
* @deprecated Use `Dictionary<T>` instead.
*/
type DeclarationContent<T = undefined> = Dictionary<T>;
export type { DeclarationContent, Dictionary };
/**
* Rexport using named import because πof Tsup bug in CJS
*/
import configuration from '@intlayer/config/built';
/**
* @deprecated Use `import { configuration } from 'intlayer'` instead.
*/
declare const getConfiguration: () => import("@intlayer/config").IntlayerConfig;
export { configuration, getConfiguration, IntlayerConfig };
export { cond, enu, gender, getDictionary, getEnumeration,
/**
* @deprecated Use `getEnumeration` instead.
*/
getEnumeration as getEnumerationContent, getHTMLTextDir, getIntlayer, getIntlayerAsync, getLocaleFromPath, getLocaleLang, getLocaleName, getLocalizedUrl, getMarkdownMetadata, getMultilingualUrls, getNesting, getPathWithoutLocale, getTranslation,
/**
* @deprecated Use `getTranslation` instead.
*/
getTranslation as getTranslationContent, insert, localeFlatMap, localeList, localeMap, localeRecord, md, nest, t, type ContentNode, type LanguageContent, } from '@intlayer/core';
export { file } from '@intlayer/core/file';
//# sourceMappingURL=index.d.ts.map