import { COMBINE_MATCHERS_TYPE } from '@contract-case/case-entities-internal'; import { AnyMatcher } from '../base'; import { AnyMatcherOrData } from '../../types'; /** * Matches all of the provided matchers. Useful for combining restrictions * provided by different matchers, or creating new matchers without needing * plugins. * * For best results, wrap the And matcher in a WithExample matcher. * * @public */ export declare class And extends AnyMatcher { /** @internal */ readonly '_case:matcher:type': typeof COMBINE_MATCHERS_TYPE; /** @internal */ readonly '_case:matcher:children': Array; /** * Matches all of the provided matchers. Useful for combining restrictions * provided by different matchers, or creating new matchers without needing * plugins. * * For best results, wrap the And matcher in a WithExample matcher. * * @param matchers - An array of the matchers to run against this particular spot in the tree */ constructor(matchers: AnyMatcherOrData[]); /** * 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=And.d.ts.map