import { AbstractNode, AllDockerNodes } from "@tdurieux/dinghy"; import { Rule } from "./rules"; export declare class Violation { readonly rule: Rule; readonly node: AbstractNode; constructor(rule: Rule, node: AbstractNode); repair(opt?: { clone: boolean; }): Promise>; isStillValid(): boolean; toString(): string; } export declare class Matcher { private _root; constructor(root: AbstractNode, { toEnrich }?: { toEnrich: boolean; }); get node(): AbstractNode; match(rule: Rule): Violation[]; matchAll(rules?: Rule[]): Violation[]; }