import { Observable } from 'rxjs'; export interface ConnectableClient { connect: () => Promise; close: () => void | Promise; status: Observable; }