export declare function isDefined(val: T): val is T extends undefined ? never : T;