import { Expectation } from '@serenity-js/core'; /** * Creates an [expectation](https://serenity-js.org/api/core/class/Expectation/) that is met when all the `expectations` are met for the given actual value. * * Use `and` to combine several expectations using logical "and", * * ## Combining several expectations * * ```ts * import { actorCalled } from '@serenity-js/core' * import { Ensure, and, startsWith, endsWith } from '@serenity-js/assertions' * * await actorCalled('Ester').attemptsTo( * Ensure.that('Hello World!', and(startsWith('Hello'), endsWith('!'))), * ) * ``` * * @param expectations * * @group Expectations */ export declare function and(...expectations: Array>): Expectation; //# sourceMappingURL=and.d.ts.map