import { CredoError } from "./CredoError.js";
import { ValidationError } from "class-validator";

//#region src/error/ClassValidationError.d.ts
declare class ClassValidationError extends CredoError {
  validationErrors: ValidationError[];
  validationErrorsToString(): string;
  constructor(message: string, {
    classType,
    cause,
    validationErrors
  }: {
    classType: string;
    cause?: Error;
    validationErrors?: ValidationError[];
  });
}
//#endregion
export { ClassValidationError };
//# sourceMappingURL=ClassValidationError.d.ts.map