import type { Nullable, NullOr } from "@joookiwi/type"; import type { ExceptionWithNullableCause } from "./declaration/ExceptionWithNullableCause"; /** * Tell that the integrity is impossible for the value received on the specified instance * * @see https://docs.oracle.com/en/java/javase/22/docs/api/java.base/java/lang/ClassCastException.html Java ClassCastException * @see https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-class-cast-exception Kotlin ClassCastException * @see https://learn.microsoft.com/dotnet/api/system.invalidcastexception C# InvalidCastException */ export declare class ImpossibleIntegrityException extends TypeError implements ExceptionWithNullableCause { #private; readonly name: string; constructor(message: string, instance: INSTANCE, cause?: Nullable); /** The instance that has an impossible integrity */ get instance(): INSTANCE; get cause(): NullOr; } //# sourceMappingURL=ImpossibleIntegrityException.d.ts.map