import type { AuthInjector } from '../typings'; declare type NetworkFunction = (method: string, endpoint: string, body?: object, auth?: AuthInjector) => Promise; declare const doNetwork: NetworkFunction; export default doNetwork;