UNPKG

studiocms

Version:

Astro Native CMS for AstroDB. Built from the ground up by the Astro community.

23 lines (22 loc) 652 B
export declare const templates: { verifyEmail: (link: string | URL) => string; notification: ({ title, message }: { title: string; message: string; }) => string; passwordReset: (link: string | URL) => string; userInvite: (data: { title: string; link: string | URL; }) => string; }; type Templates = typeof templates; type TemplateKeys = keyof Templates; /** * Retrieves the specified email template. * * @param template - The template to retrieve. * @returns The specified email template. */ export declare function getTemplate<T extends TemplateKeys>(template: T): Templates[T]; export {};