export declare const hasProp: (obj: X, prop: Y) => obj is X & Record;