export interface HTTPError extends Error { name: string; status: number; url: string; } export interface HTTPTimeout extends Error { name: string; url: string; } export declare class HTTPError extends Error { constructor(response: Response); } export declare class HTTPTimeout extends Error { constructor(); }