export declare function hasOwnProperty, Y extends PropertyKey>(obj: Record, prop: Y): obj is X & Record;