export default class BaseError extends Error { readonly originalError: this; readonly code?: undefined | string; readonly cause?: undefined | Error; constructor(options: { name?: undefined | string; code?: undefined | string; message: string; cause?: undefined | Error; }); formatThis(): string; formatCause(): undefined | string; format(): string; toString(): string; }