/** * EBNF (W3C-style) text emitter for the grammar spec model. * * Precedence, lowest → highest: alternation (`|`) < concatenation (space) < * postfix (`* + ?`) < atom. The renderer parenthesizes only where a lower- * precedence construct sits inside a higher-precedence one. */ import type { SpecModel, SpecNode } from './model.ts'; /** Render the whole spec model as EBNF text (one production per line). */ export declare function renderEBNF(model: SpecModel): string; /** Render a single production's right-hand side (no `name ::=`). */ export declare function renderExpr(node: SpecNode): string; //# sourceMappingURL=ebnf.d.ts.map