/// import { Stream } from 'stream'; import { AxiosRequestConfig, BufferEncoding } from './common'; /** * Based on the URL corresponding to the resource transform to buffer */ export declare const fastGetBuffer: (url: string, configs?: AxiosRequestConfig) => Promise; /** * Based on the URL corresponding to the resource transform to stream */ export declare const fastGetStream: (url: string, configs?: AxiosRequestConfig) => Promise; /** * Based on the URL corresponding to the resource transform to a string in the specified format */ export declare const fastGetString: (url: string, type?: BufferEncoding, configs?: AxiosRequestConfig) => Promise; /** * Based on the URL download file */ export declare const fastDownload: (url: string, path: string, configs?: AxiosRequestConfig, isStream?: boolean) => Promise;