/** * Fetch a url as as buffer. * @param url The url to fetch. * @returns The buffer. */ export declare function fetchBuffer(url: string): Promise; /** * Fetch a url as as text. * @param url The url to fetch. * @returns The text. */ export declare function fetchText(url: string): Promise; /** * Fetch a url as a JSON object. * @param url The url to fetch. * @returns The object. */ export declare function fetchJson(url: string): Promise;