/** * True when either pre-gate alternation shape-matches `text`. Split into two * literals (see SECRET_HINT) and OR'd so neither grows into a * polynomial-backtracking shape. * @param {string} text * @returns {boolean} */ export function matchesSecretHint(text: string): boolean; /** * Cheap, dependency-free pre-gates shared by the HTML layer (Layers 2 & 3) and * re-exported from both the package root and the `./html` subpath. * * These are pulled out of `html.mjs` so the package root can re-export them * without dragging in the heavy remark/rehype/unified graph: a static * `export … from "./html.mjs"` would eagerly evaluate that ~200ms module on * every root import, defeating the lazy-load design. This module imports * nothing, so re-exporting it is free. */ /** * Matches any HTML tag-like construct: opening tags, closing tags (``, which the HTML tokenizer hides exactly like a comment). * The `