import { Options } from "./options.js"; import { RuleSpec } from "./ruleSpec.js"; import { Diff } from "./changeset/diff.js"; import * as raw from "./raw.js"; export declare class Rule { expected: string; pattern: RegExp; regexpMustEmpty: string | undefined; options: Options; specs: RuleSpec[]; raw: any; constructor(src: string | raw.Rule); reset(): void; check(): void; applyRule(content: string): Diff[]; toJSON(): any; }