import { ModuleRef } from '@nestjs/core'; import { IEmailBlock, OrganizationRepository } from '@novu/dal'; import { CompileTemplate, CompileTemplateBase } from '../compile-template'; import { CompileEmailTemplateCommand } from './compile-email-template.command'; import { GetLayoutUseCase } from '../get-layout'; import { GetNovuLayout } from '../get-novu-layout'; export declare class CompileEmailTemplate extends CompileTemplateBase { private compileTemplate; protected organizationRepository: OrganizationRepository; private getLayoutUsecase; private getNovuLayoutUsecase; protected moduleRef: ModuleRef; constructor(compileTemplate: CompileTemplate, organizationRepository: OrganizationRepository, getLayoutUsecase: GetLayoutUseCase, getNovuLayoutUsecase: GetNovuLayout, moduleRef: ModuleRef); execute(command: CompileEmailTemplateCommand, initiateTranslations?: (environmentId: string, organizationId: any, locale: string) => Promise): Promise<{ html: string; content: string | IEmailBlock[]; subject: string; senderName: any; }>; private renderContent; static addPreheader(content: string): string; private loadTemplateContent; } //# sourceMappingURL=compile-email-template.usecase.d.ts.map