import { SignalR } from 'ng2-signalr';
import { TnClientCommand } from '../models/tn-client-command';
import { ModuleConfigService } from './module-config.service';
export declare class TnClientService {
    private _signalR;
    private _moduleConfigService;
    readonly env: any;
    private _connection;
    private _connectedChanged;
    private _connected;
    private numberOfRetry;
    private timeoutInterval;
    constructor(_signalR: SignalR, _moduleConfigService: ModuleConfigService);
    init(): void;
    tryConnect(): void;
    sendCommand(command: TnClientCommand, numberOfRetry?: number): Promise<void>;
}
//# sourceMappingURL=tn-client.service.d.ts.map