const require_nodeType = require('../../types/dist/esm/nodeType.cjs');

//#region ../chokidar/dist/esm/core/dist/esm/transpiler/translation/translation.mjs
/**
*
* Function intended to be used to build intlayer dictionaries.
*
* Get the content of a translation based on the locale.
*
* Usage:
*
* ```ts
* translation<string>({
*   "en": "Hello",
*   "fr": "Bonjour",
*   // ... any other available locale
* })
* ```
*
* Using TypeScript:
* - this function require each locale to be defined if defined in the project configuration.
* - If a locale is missing, it will make each existing locale optional and raise an error if the locale is not found.
*/
const translation = (content) => require_nodeType.formatNodeType(require_nodeType.NodeType.Translation, content);

//#endregion
exports.translation = translation;
//# sourceMappingURL=translation.cjs.map