import { IBusyIndicator } from '@dolittle/tooling.common.utilities'; import { IConnectionChecker } from '../internal'; /** * Checks whether or not the user is connected to the internet. * An error will be thrown when there is no connection * * @param {IBusyIndicator} busyIndicator * @throws An Error when no connection can be established * @export */ export declare function requireInternet(connectionChecker: IConnectionChecker, busyIndicator: IBusyIndicator): Promise;