// @ts-ignore interface RequestError extends Error { response?: any; } interface RequestErrorConstructor extends ErrorConstructor { new (message?: string): RequestError; (message?: string): RequestError; readonly prototype: RequestError; } declare var RequestError: RequestErrorConstructor;