/** * Type narrowing to allow property checking when object can be multiple types * https://fettblog.eu/typescript-hasownproperty/ * Any code inside a block guarded by a conditional call to this function will have type narrowed to X */ export declare function hasOwnProperty(obj: X, prop: Y): obj is X & Record; export declare function isObject(val: unknown): boolean;