import { ConnectableObservable } from 'rxjs'; /** * A simple helper that connects to a `ConnectableObservable` * and disconnects when the component unmounts. * * This is a safe way to turn a cold observable hot without risking memory leaks. * * @param observable source observable to connect to * @category Hook */ export declare function useConnection(observable: ConnectableObservable | null | undefined): void; //# sourceMappingURL=use-connection.d.ts.map