import { ConduitModule } from '../../classes/index.js'; import { EmailDefinition } from '../../protoUtils/email.js'; export declare class Email extends ConduitModule { private readonly moduleName; constructor(moduleName: string, url: string, grpcToken?: string); registerTemplate(template: { name: string; subject: string; body: string; variables: string[]; sender?: string; }): Promise; updateTemplate(templateId: string, params: { name?: string; subject?: string; body?: string; variables?: string[]; sender?: string; }): Promise; sendEmail(templateName: string, params: { email: string; variables: any; sender?: string; replyTo?: string; cc?: string[]; attachments?: { filename: string; contentType?: string; content?: Buffer; href?: string; httpHeaders?: Record; }[]; }): Promise; resendEmail(emailRecordId: string): Promise; getEmailStatus(messageId: string): Promise; }