import { Subscription } from "rxjs";
import { ComProtocol } from "../../protocol/api/com-protocol.interface";
export declare class ComRelay {
    private static TAG;
    protected _sourceProtocolSubscription?: Subscription;
    protected logger: Console;
    protected mSourceProtocol?: ComProtocol;
    protected mTargetProtocol?: ComProtocol;
    constructor(sourceProtocol?: ComProtocol, targetProtocol?: ComProtocol);
    setSourceProtocol(protocol: ComProtocol): this;
    removeSourceProtocol(): this;
    setTargetProtocol(protocol: ComProtocol): this;
    start(options?: {
        timeout?: number;
    }): Promise<{}>;
    stop(): void;
    listenToDataStream(): Promise<any>;
    onStop(): this;
}
