import { EventEmitter } from 'ee-ts/lib/ee';
import type { Answer, AudioProcessingConfig, 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 | undefined>;
    unregister(): Promise<undefined | Error>;
    call(req: Outbound): Promise<undefined | Error>;
    answer(id: string): void;
    isRegistered(): boolean;
    sipSessionByCallId(id: string): CallSession | null;
    sipSessionBySipId(_id: string): CallSession | null;
    setAudioProcessing(_processing: AudioProcessingConfig): void;
    open(token: string): void;
    private exec;
}
//# sourceMappingURL=index.d.ts.map