import { PrismaService } from '../../../prisma/prisma.service';
import { EncryptionService } from '../../../common/services/encryption.service';
export declare class WhatsAppService {
    private readonly prisma;
    private readonly encryptionService;
    private readonly logger;
    constructor(prisma: PrismaService, encryptionService: EncryptionService);
    sendMessage(businessId: string, toPhone: string, body: string, rawPayload?: any): Promise<boolean>;
    sendTextNotification(businessId: string, toPhone: string, message: string): Promise<void>;
    private getPublicImageUrl;
    logIncomingMessage(businessId: string, fromPhone: string, body: string, rawPayload?: any): Promise<{
        id: string;
        status: string;
        createdAt: Date;
        businessId: string;
        customerId: string | null;
        whatsappNumber: string;
        direction: string;
        messageType: string;
        messageBody: string;
        rawPayloadJson: string | null;
    }>;
    listMessageLogs(businessId: string, whatsappNumber?: string): Promise<{
        id: string;
        status: string;
        createdAt: Date;
        businessId: string;
        customerId: string | null;
        whatsappNumber: string;
        direction: string;
        messageType: string;
        messageBody: string;
        rawPayloadJson: string | null;
    }[]>;
    testConnection(phoneNumberId: string, accessToken: string): Promise<{
        success: boolean;
        message: string;
    }>;
    private getLocalFilePath;
    private getMimeType;
    private uploadMediaToMeta;
}
