UNPKG

@ethersphere/bee-js

Version:
9 lines (8 loc) 368 B
import { BeeRequestOptions } from '../index'; /** * Ping the base bee URL. If connection was not successful throw error * * @param requestOptions Options for making requests */ export declare function checkConnection(requestOptions: BeeRequestOptions): Promise<void> | never; export declare function isGateway(requestOptions: BeeRequestOptions): Promise<boolean>;