## API Report File for "@rushstack/tree-pattern" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts // @public export type ITreePatternCaptureSet = { [tagName: string]: TreeNode; } | { failPath: string; }; // @public export type TreeNode = any; // @public export class TreePattern { constructor(pattern: TreeNode); match(root: TreeNode, captures?: ITreePatternCaptureSet): boolean; static oneOf(possibleSubtrees: TreeNode[]): TreeNode; static tag(tagName: string, subtree?: TreeNode): TreeNode; } ```