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.33 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 { Dictionary, DeclarationContent };
/**
* 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 { type LanguageContent, type ContentNode, getLocaleName, enu, cond, md, t, nest, insert, getEnumeration,
/**
* @deprecated Use `getEnumeration` instead.
*/
getEnumeration as getEnumerationContent, getDictionary, getIntlayer, getIntlayerAsync, getTranslation,
/**
* @deprecated Use `getTranslation` instead.
*/
getTranslation as getTranslationContent, getNesting, getLocaleLang, getHTMLTextDir, getPathWithoutLocale, getMultilingualUrls, getLocalizedUrl, localeList, } from '@intlayer/core';
export { file } from '@intlayer/core/file';
//# sourceMappingURL=index.d.ts.map