import { ARRAY_EACH_ENTRY_MATCHES_TYPE } from '@contract-case/case-entities-internal'; import { AnyMatcherWithExample } from '../base'; import { AnyMatcherOrData } from '../../types'; /** * Matches an array where each element matches the provided matcher, but with * a custom example for the whole array. This example must still pass the * provided matcher * * @public */ export declare class ArrayEachEntryMatchesWithExample extends AnyMatcherWithExample { /** @internal */ readonly '_case:matcher:type': typeof ARRAY_EACH_ENTRY_MATCHES_TYPE; /** @internal */ readonly '_case:matcher:matcher': AnyMatcherOrData; /** @internal */ readonly '_case:matcher:example': Array; /** * Matches an array where each element matches the provided matcher, but with * a custom example for the whole array. This example must still pass the * provided matcher * * @param matcher - The matcher for each entry in the array * @param example - An optional example of the whole array to return */ constructor(matcher: AnyMatcherOrData, example: Array); /** * For non-TypeScript implementations (see `AnyMatcher.toJSON`) * * @privateRemarks * This comment and the implementation is boilerplate on all matchers to avoid * outputting duplicate unimportant documentation on all matcher classes of * the docs. Only modify this comment or the implementation via search and replace. */ toJSON(): unknown; } //# sourceMappingURL=ArrayEachEntryMatchesWithExample.d.ts.map