/** * @module Expectations/Implementation * @author Alan Rodas Bonjour */ import { AbstractFinishedExpectation } from './AbstractFinishedExpectation'; import { FinishedExpectation } from '../Interfaces'; /** * A joined expectation consist of multiple expectations joined by a specific * joiner function. A JoinedExpectation implements {@link AbstractFinishedExpectation}, * where the result is calculated using the given joiner function. * * Currently two join forms are provided, {@link expect!and}, * and {@link expect!or}. * * @group API: Types */ export declare class JoinedExpectation extends AbstractFinishedExpectation { /** * The result of a joined expectation, set at construction time. */ private result; /** * Create a new instance of a JoinedExpectation for the given set * of expectations, using the provided joiner. * * @param expectations - The expectations that ought to be joined. * @param joiner - The joiner to use to calculate the result. */ constructor(expectations: FinishedExpectation[], joiner: (expectations: FinishedExpectation[]) => boolean); /** @inheritDoc {@link Expectations!IFinishedExpectancy.getResult} */ getResult(): boolean; } //# sourceMappingURL=JoinedExpectation.d.ts.map