import type { RecheckConfig } from '../../types/index.js'; export declare function buildMarkdocPreset(): RecheckConfig; /** The preset's rule keys, so tests can assert "exactly these four". */ export declare const MARKDOC_PRESET_RULE_NAMES: readonly ['recheck/markdoc-syntax', 'recheck/markdoc-pairing', 'recheck/markdoc-unknown-tag', 'recheck/markdoc-attributes']; /** * One entry per distinct `ctx.onError`/`reports.push` call site across the four * rule files — a per-VIOLATION coverage gate rather than a per-rule one, since * a per-rule gate leaves individual message variants untested. So this list * separates a bareword PRIMARY value (grammar-level) from a bareword named * attribute, and names a close tag carrying attributes, a self-closing tag * paired with an explicit close, a positional primary on a tag that declares no * `primary` attribute, and the duplicate-attribute walk. * * Two tests in config/__tests__/preset-markdoc.test.ts enforce this list * together: one fails if a class listed here never fires on the shared * fixture, the other counts real report call sites in the four rule files and * asserts the total equals this list's length — so a new report site with no * entry here fails immediately instead of shipping untested. */ export declare const MARKDOC_VIOLATION_CLASSES: readonly ['malformed', 'close-tag-attributes', 'primary-bareword', 'attribute-bareword', 'unclosed', 'orphaned', 'crossed', 'void-missing-slash', 'self-closing-with-close', 'unknown-tag', 'primary-unknown-attribute', 'wrong-type', 'enum', 'unknown-attr', 'missing-required', 'duplicate-attribute']; //# sourceMappingURL=markdoc.d.ts.map