import type { Nullable, NullOr } from "@joookiwi/type"; import type { ExceptionWithNullableCause } from "./declaration/ExceptionWithNullableCause"; import type { ExceptionWithValue } from "./declaration/ExceptionWithValue"; /** * The {@link value reference to retrieve} was not expected to be `null` * * @see https://docs.oracle.com/en/java/javase/22/docs/api/java.base/java/lang/NullPointerException.html Java NullPointerException * @see https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-null-pointer-exception Kotlin NullPointerException * @see https://learn.microsoft.com/dotnet/api/system.nullreferenceexception C# NullReferenceException */ export declare class NullReferenceException extends TypeError implements ExceptionWithValue, ExceptionWithNullableCause { #private; readonly name: string; constructor(message: string, value: T, cause?: Nullable); /** The value that had a `null` reference or could not be found by something */ get value(): T; get cause(): NullOr; } //# sourceMappingURL=NullReferenceException.d.ts.map