UNPKG

sonarqube-scanner

Version:
8 lines (7 loc) 606 B
import axios, { type AxiosRequestConfig } from 'axios'; import { type ScannerProperties } from './types'; export declare function getHttpAgents(properties: ScannerProperties): Promise<Pick<AxiosRequestConfig, 'httpAgent' | 'httpsAgent' | 'proxy'>>; export declare function resetAxios(): void; export declare function initializeAxios(properties: ScannerProperties): Promise<void>; export declare function fetch<T = unknown>(config: AxiosRequestConfig): Promise<axios.AxiosResponse<T, any, {}>>; export declare function download(url: string, destPath: string, overrides?: AxiosRequestConfig): Promise<void>;