import { User } from "./get_authorization_headers"; export default class Http { static baseUrl: () => string; static fetch(url: RequestInfo, data: any): Promise; static get(url: RequestInfo, user: User, contentType?: string): Promise; static put(url: RequestInfo, user: User, body?: any, contentType?: string, accept?: string): Promise; static delete(url: RequestInfo, user: User, body?: any): Promise; static post(url: RequestInfo, user: User, body?: any): Promise; static patch(url: RequestInfo, user: User, body: any): Promise; static addAuthToDownloadUrl(baseUrl: string, user: User): string; static __fetch: any; }