import { Matcher } from './Matcher'; import { MatchResult, MatchResultAny, Matched } from './MatchResult'; export declare type AndMatcherResult = MatchResult<{ and: [Matched, Matched]; }>; /** * Match if every matcher matches */ export declare class AndMatcher implements Matcher, P1 & P2> { private readonly matchers; constructor(matchers: [Matcher, Matcher]); match(params: P1 & P2): AndMatcherResult; }