import { ErrorBase } from './ErrorBase'; /** * Indicates one or more errors occurred during the course of an operation.\ * This class attempts to roughly emulate the Mozilla implementation: * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError */ export declare class AggregateError extends ErrorBase { #private; /** * Initializes a new instance of the [[AggregateError]] class. * @param errors The error(s) encountered. * @param message An overall description of the error. */ constructor(errors: Error[], message: string); /** * Gets the error array specifying the errors encountered. */ get errors(): Error[]; }