import { StrophePlugin } from './strophe-plugin'; import { JingleSession } from './strophe.jingle.session'; import { Subject } from "rxjs"; interface JingleIceConfig { iceServers: any[]; iceTransportPolicy?: 'all' | 'relay'; } export declare class StropheJinglePlugin extends StrophePlugin { sessions: Record; private connectionRef; ice_config: JingleIceConfig; company_config: Record; private pc_constraints; media_constraints: Record; private jingleIqTimeout; private logger; rxSubject: Subject; constructor(); static build(): StropheJinglePlugin; init(connection: any): void; attachHandlers(): void; initiate(peerJid: string, myJid: string, localType: string, streams: MediaStream[], sid: string, confId: string, phoneNumber: string, forceTurn?: boolean, isEchoTest?: boolean, otherSid?: string, callShift?: boolean): Promise; initiateDataChannelSession(peerJid: string, myJid: string, confId?: string): Promise; initiateBundleSession(peerJid: string, myJid: string, sid: string, stream: MediaStream, conferenceId: string): Promise; terminateAllSessions(reason?: string, text?: string): void; terminate(sid: string, reason?: string, text?: string): void; private updateSessionData; private onJingle; } export {}; //# sourceMappingURL=strophe.jingle.d.ts.map