import { HubSpotHttpErrorContext } from '../types/Error.js'; export declare const HubSpotHttpErrorName = "HubSpotHttpError"; export declare class HubSpotHttpError extends Error { status?: number; code?: string; statusText?: string; data?: T; headers?: { [key: string]: unknown; }; method: string | undefined; context: HubSpotHttpErrorContext | undefined; derivedContext: HubSpotHttpErrorContext | undefined; validationErrors: string[] | undefined; detailedMessage?: string; private divider; cause: ErrorOptions['cause']; timeout?: number; correlationId?: string; constructor(message?: string, options?: ErrorOptions, context?: HubSpotHttpErrorContext); updateContext(context: Partial, additionalDebugContext?: string): void; toString(): string; formattedValidationErrors(): string; private extractDerivedContext; private parseValidationErrors; private joinErrorMessages; }