import { IntegrationError } from '@segment/actions-core'; export declare class AggregateError extends IntegrationError { errors: any[]; data?: any; static create(args: { errors: any[]; code?: string; status?: number; takeCodeAndStatusFromError?: any; message?: (msg: string) => string; }): AggregateError; constructor(errors: any[], code?: string, status?: number, data?: any, message?: string); [key: string]: any; }