import { InitParamsType, LoginSipRtcParamsType, XyCallSDKParamsType } from './@types/call'; import { AnswerDevice } from './@types/global'; import Agent from './utils/agent'; import Call_Api from './utils/call_api'; export type LogType = { type: 'info' | 'error' | 'waring'; data: any; api_name: string; params?: any; }; declare class XY_CALL_SDK { #private; readonly XY_CALL_SDK_VERSION: string; private readonly audioElement; private readonly URL; xy_agent: Agent; xy_call_api: Call_Api; constructor({ url, onCallBack, audioElement }: XyCallSDKParamsType); login_sip_trc({ error }: LoginSipRtcParamsType, is_sdk?: boolean): Promise; init({ agent_no, app_secret, app_key, answer_device, success, error }: InitParamsType): Promise; getSdkObjectParams(): { call_type: import("./@types/call").CallType; agent_state: import("./@types/global").AgentState; state_name: string; agent_name: string; agent_no: string; answer_devices: AnswerDevice; auto_answer_switch: 2 | 1; auto_answer_time: number; register: boolean; mss_addr: string; sip_account: string; sip_password: string; default_skill_id: string; only_outcall_switch: 2 | 1; settle_time: string; auto_checkin_skill: 2 | 1; }; } export default XY_CALL_SDK; //# sourceMappingURL=index.d.ts.map