declare module '../expect.types' { interface ValueExpect { /** * check if value has a property * @param property a property in the object. When combined with .deep. can be a path like 'a.b.c' * @example expect({a: {b: {c: 1}}}).to.have.property('a.b.c'); * @example expect({a: {b: {c: 1}}}).to.have.deep.property('[0].a.b.c'); */ property(property: K): this; /** * check if value has a property * @param property a property in the object. When combined with .deep. can be a path like 'a.b.c' * @example expect({a: {b: {c: 1}}}).to.have.property('a.b.c'); * @example expect({a: {b: {c: 1}}}).to.have.deep.property('[0].a.b.c'); */ property(property: string): this; /** * check if value has a property * @param property a property in the object. When combined with .deep. can be a path like 'a.b.c' * @param value * @example expect({a: {b: {c: 1}}}).to.have.property('a.b.c'); * @example expect({a: {b: {c: 1}}}).to.have.deep.property('[0].a.b.c'); */ property(property: K, value?: any): this; /** * check if value has a property * @param property a property in the object. When combined with .deep. can be a path like 'a.b.c' * @param value * @example expect({a: {b: {c: 1}}}).to.have.property('a.b.c'); * @example expect({a: {b: {c: 1}}}).to.have.deep.property('[0].a.b.c'); */ property(property: string, value?: any): this; } } export {}; //# sourceMappingURL=has-property.d.ts.map