UNPKG

@lucidcms/core

Version:

The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.

12 lines (11 loc) 557 B
import { Locale } from "../../../types/response.mjs"; import { ServiceContext, ServiceResponse } from "../../../utils/services/types.mjs"; //#region src/libs/toolkit/locales/index.d.ts type ToolkitLocales = { /** Returns all enabled locales. */getAll: () => ServiceResponse<Locale[]>; }; /** Creates locale helpers for a toolkit instance. */ declare const createLocalesToolkit: (context: ServiceContext) => ToolkitLocales; //#endregion export { ToolkitLocales, createLocalesToolkit, createLocalesToolkit as default }; //# sourceMappingURL=index.d.mts.map