import { LucidConfigDefinition } from "./types.mjs";

//#region src/libs/runtime/configure-lucid.d.ts
/**
 * Wraps your Lucid CMS config and gives it the right shape for `lucid.config.*`.
 * Use it to pass the runtime/database adapters and return the rest of your
 * config from the `config(env)` callback. Optionally export a named `env`
 * schema to validate and type environment variables.
 *
 * @example
 * ```ts
 * import { configureLucid, z } from "@lucidcms/core";
 * import { node } from "@lucidcms/runtime-node";
 * import { sqlite } from "@lucidcms/db-sqlite";
 *
 * export const env = z.object({
 *   SECRET: z.string().length(64),
 * });
 *
 * export default configureLucid({
 *   runtime: node,
 *   db: sqlite,
 *   config: (env) => ({
 *     secrets: env.SECRET,
 *     collections: [],
 *     plugins: [],
 *   }),
 * });
 * ```
 */
declare const configureLucid: (definition: LucidConfigDefinition) => LucidConfigDefinition;
//#endregion
export { configureLucid as default };
//# sourceMappingURL=configure-lucid.d.mts.map