@lucidcms/core
Version:
The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.
20 lines (19 loc) • 720 B
text/typescript
import { TranslationBundles, TranslationStore } from "./types.mjs";
import { Config } from "../../types/config.mjs";
//#region src/libs/i18n/prepare-translations.d.ts
type PrepareTranslationsResult = {
translationStore: TranslationStore;
};
/**
* Loads or accepts merged translation bundles, creates the runtime store, and
* optionally writes the build artifact consumed by compiled runtimes.
*/
declare const prepareTranslations: (props: {
config: Config;
projectRoot?: string;
bundles?: TranslationBundles;
outputPath?: string;
}) => Promise<PrepareTranslationsResult>;
//#endregion
export { PrepareTranslationsResult, prepareTranslations as default };
//# sourceMappingURL=prepare-translations.d.mts.map