import { NilRule } from './nil/nil-types'; import { Guard } from '../core/guard'; import { GuardResult } from '../core/guard-result'; export declare class NilGuard extends Guard { constructor(); /** * Checks if value is undefined or null. * @remarks Chainable method. */ isNil(): this; /** * Checks if value is neither undefined nor null. * @remarks Chainable method. */ isNotNil(): this; /** * Checks if value is not null. * @remarks Chainable method. */ isNotNull(): this; /** * Checks if value is not undefined. * @remarks Chainable method. */ isNotUndefined(): this; /** * Checks if value is null. * @remarks Chainable method. */ isNull(): this; /** * Checks if value is undefined. * @remarks Chainable method. */ isUndefined(): this; /** * @override * @param rule * @param value */ protected checkRule(rule: NilRule, value: unknown): GuardResult; /** * @override */ protected typeGuard(): void; }