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) 651 B
import { ServiceContext, ServiceResponse } from "../../../utils/services/types.mjs"; import { ToolkitEmailSendInput, ToolkitEmailSendResult } from "./send.mjs"; //#region src/libs/toolkit/email/index.d.ts type ToolkitEmail = { /** Queues an external email send. Accepts tenantKey for per-call tenant scope. */send: (input: ToolkitEmailSendInput) => ServiceResponse<ToolkitEmailSendResult>; }; /** Creates email helpers for a toolkit instance. */ declare const createEmailToolkit: (context: ServiceContext) => ToolkitEmail; //#endregion export { ToolkitEmail, createEmailToolkit, createEmailToolkit as default }; //# sourceMappingURL=index.d.mts.map