declare type NetworkFunction = (method: string, endpoint: string, token: string) => Promise; declare const doGet: NetworkFunction; export default doGet;