import { BaseEsmsService } from './base.service'; import type { VoiceCallResponse } from '../types'; /** * Voice Service - handles voice call operations */ export declare class VoiceService extends BaseEsmsService { private readonly endpoints; /** * Make call with template V2 * @param credentials Optional credentials, will use default from constructor if not provided */ makeCallTemplateV2(params: { TemplateId: string | number; Phone: string; VariableListStr?: string; SendDate?: string; Voice?: string; Speed?: string; CallbackUrl?: string; RequestId?: string; }, credentials?: { apiKey: string; secretKey: string; }): Promise; /** * Make call with record V2 * @param credentials Optional credentials, will use default from constructor if not provided */ makeCallRecordV2(params: { RecordId: string | number; Phone: string; SendDate?: string; NumberForward?: string; MaxRepeat?: string; MaxRetry?: string; Ivr?: string; TimeWaitToIvr?: string; WaitRetry?: string; CallbackUrl?: string; RequestId?: string; }, credentials?: { apiKey: string; secretKey: string; }): Promise; /** * Get voice send status * @param credentials Optional credentials, will use default from constructor if not provided */ getVoiceSendStatus(params: { ReferenceId: string; }, credentials?: { apiKey: string; secretKey: string; }): Promise; }