import { type Lexer, type SyntaxLang } from './lexer.js'; /** * Dialect configuration for the shared markup scanner — how html, xml, and * svelte differ. Instances are module-level constants (one per dialect) so * the scanner stays monomorphic. */ export interface MarkupLexMode { /** * Language embedded in `