@tmlmobilidade/emails
Version:
21 lines (20 loc) • 937 B
TypeScript
import { type SendEmailProps } from '../types.js';
export declare const genericNotificationSubject = "Nova Notifica\u00E7\u00E3o";
export interface GenericNotificationTemplateProps {
body: string;
notificationId: string;
notificationUrl: string;
title: string;
}
declare function GenericNotificationTemplate({ body, notificationId, notificationUrl, title }: GenericNotificationTemplateProps): import("react/jsx-runtime").JSX.Element;
declare namespace GenericNotificationTemplate {
var PreviewProps: {
body: string;
notificationId: string;
notificationUrl: string;
title: string;
};
}
export default GenericNotificationTemplate;
export declare const renderGenericNotificationTemplate: (props: GenericNotificationTemplateProps) => Promise<string>;
export declare const sendGenericNotificationEmail: ({ data, to }: SendEmailProps<GenericNotificationTemplateProps>) => Promise<void>;