/** * Importing npm packages */ /** * Importing user defined packages */ import { ErrorCode } from './error-code.error.js'; /** * Defining types */ /** * Declaring the constants */ export declare class InternalError extends Error { private readonly publicErrorCode; constructor(message: string); constructor(publicErrorCode: ErrorCode, message: string); setCause(cause: Error): this; getPublicErrorCode(): ErrorCode; getMessage(): string; }