/** * Taken from extendable-error but it has problems with ESM loader. * @see https://github.com/vilic/extendable-error/blob/master/src/index.ts */ export declare abstract class ExtendableError extends Error { message: string; name: string; private _error; private _stack?; constructor(message?: string); get stack(): string; } /** * An error that indicates that the operation was aborted. */ export declare class PluginLoadError extends ExtendableError { plugin: string; constructor(plugin: string, message: string); }