import { CustomError } from './CustomError'; interface CustomErrorConstructor { new (parameters?: string | { cause?: Error; data?: TData; message?: string; }): CustomError; code: string; } export type { CustomErrorConstructor };