export interface OpenArgv extends XMLHttpRequestAttribute { method?: string; async?: boolean; username?: string | null; password?: string | null; [func: string]: any; } type XMLHttpRequestAttribute> = { [K in keyof T]?: T[K]; }; declare const httpRequest: (url: string, options?: OpenArgv, callback?: ((params: XMLHttpRequest) => unknown) | undefined) => Promise; export default httpRequest;