import { HttpService } from '@nestjs/axios';
import { Logger } from '@nestjs/common';
import { QueueMessage } from '../../interfaces/mq';
import { IWhatsAppTransport } from "../../interfaces";
import { PublisherFactory } from '../queues/publisher-factory.service';
import { SettingService } from '../setting.service';
declare enum Msg91WhatsappParameterHeaderType {
    image = 0,
    text = 1
}
export interface Msg91WhatsappParameter {
    header?: {
        type: Msg91WhatsappParameterHeaderType;
        value: string;
    };
    body: string[];
}
export declare class Msg91WhatsappService implements IWhatsAppTransport {
    private readonly publisherFactory;
    private readonly httpService;
    private readonly settingService;
    readonly logger: Logger;
    constructor(publisherFactory: PublisherFactory<any>, httpService: HttpService, settingService: SettingService);
    sendWhatsAppMessage(to: string, templateId: string, parameters: any, parentEntity?: any, parentEntityId?: any): Promise<any>;
    private sendWhatsAppMessageAsynchronously;
    sendWhatsAppMessageSynchronously(message: QueueMessage<any>): Promise<void>;
    private createWhatsappRequest;
    private createWhatsappToAndComponents;
    private createWhatsappComponents;
    private createWhatsappTemplate;
}
export {};
//# sourceMappingURL=Msg91WhatsappService.d.ts.map