interface RequestOptions { method?: string; accept?: string; contentType?: string; customerHeaders?: { [key: string]: string }; signal?: AbortSignal | null; progress?: (this: XMLHttpRequestUpload, ev: ProgressEvent) => any } export function get(url: string, options?: RequestOptions): Promise export function post(url: string, data?: BodyInit | null, options?: RequestOptions): Promise export function upload(url: string, data: FormData, options?: RequestOptions): Promise