export declare function hasOwn(o: T, key: K): o is T & Record>;