import { Response } from './types.js'; export type ExceptionCode = 'ERR_BAD_RESPONSE' | 'ETIMEDOUT' | (string & {}); export declare class Exception extends Error { readonly response?: Response | undefined; readonly code?: ExceptionCode | undefined; readonly name: string; constructor(message: string, response?: Response | undefined, code?: ExceptionCode | undefined); } //# sourceMappingURL=exception.d.ts.map