declare function hasOwn(o: O, p: K): p is K & keyof O; declare function hasOwn(o: O, p: K): o is O & Record; export = hasOwn;