import { EventEmitter } from 'ee-ts/lib/ee';
import { Answer, CallSession, Outbound, SipClient, SipClientEvents, SipConfiguration } from '../index';
export declare class ExternalClient extends EventEmitter<SipClientEvents> implements SipClient {
    private config;
    readonly type = "external";
    readonly schema = "wtel://";
    constructor(config: object | undefined);
    callOption(req: Answer): Promise<object | Error>;
    register(sipConf: SipConfiguration): Promise<Error | void>;
    unregister(): Promise<void | Error>;
    call(req: Outbound): Promise<void | Error>;
    answer(id: string): void;
    isRegistered(): boolean;
    sipSessionByCallId(id: string): CallSession | null;
    sipSessionBySipId(id: string): CallSession | null;
    open(token: string): void;
    private exec;
}
//# sourceMappingURL=index.d.ts.map