import * as t from '@babel/types'; import { Matcher } from './Matcher'; import { CapturedMatcher } from './capture'; /** * Matches and captures using another matcher by recursively checking all * descendants of a given node. The matched descendant is captured as the * current value of this capturing matcher. */ export declare class ContainerOfMatcher extends CapturedMatcher { private readonly containedMatcher; constructor(containedMatcher: Matcher); matchValue(value: unknown, keys: ReadonlyArray): value is M; } export declare function containerOf(containedMatcher: Matcher): ContainerOfMatcher;