import type { AnyCaller } from "./function.js"; /** Function that always returns null. */ export declare function getNull(): null; /** Nullable is the value or `null` */ export type Nullable = T | null; /** Is a value null? */ export declare function isNull(value: unknown): value is null; /** Assert that a value is not null. */ export declare function assertNull(value: Nullable, caller?: AnyCaller): asserts value is T; /** Is a value not null? */ export declare function notNull(value: Nullable): value is T; /** Assert that a value is not null. */ export declare function assertNotNull(value: Nullable, caller?: AnyCaller): asserts value is T; /** Get the not-nullish version of value. */ export declare function requireNotNull(value: Nullable, caller?: AnyCaller): T; /** Nullish is the value or `null` or `undefined` */ export type Nullish = T | null | undefined; /** Is a value nullish? */ export declare function isNullish(value: Nullish): value is null | undefined; /** Assert that a value is not nullish. */ export declare function assertNullish(value: Nullish, caller?: AnyCaller): asserts value is T; /** Is a value not nullish? */ export declare function notNullish(value: Nullish): value is T; /** Assert that a value is not nullish. */ export declare function assertNotNullish(value: Nullish, caller?: AnyCaller): asserts value is T; /** Get the not-nullish version of value. */ export declare function requireNotNullish(value: Nullish, caller?: AnyCaller): T;