declare const hasProperty: <X, Y extends PropertyKey>(obj: X | undefined, prop: Y) => obj is X & Record<Y, unknown>;
export default hasProperty;
