import { Response } from 'node-fetch'; import BaseError from '../BaseError'; declare class FetchError extends BaseError { ok: Response['ok']; status: Response['status']; statusText: Response['statusText']; url: Response['url']; body: any; constructor(response: Response, body: any); } declare class AuthenticationError extends FetchError { constructor(response: Response, body: any); } export { BaseError, FetchError, AuthenticationError };