import type { LexBodySpec } from './program.ts'; /** -1 fails. A success is `end * 2 + suffixMatched`, so the reader can * reproduce optional()'s swallowed suffix failure without allocating a tuple. */ export type LexBodyRecognizer = (input: string, pos: number) => number; /** Build one selected lexical body from its numeric table row. Recognition is * pure; diagnostics, token boundary state, source value and CST publication * remain owned by the reader's OP_LEX_BODY shell. */ export declare function buildLexBodyRecognizer(spec: LexBodySpec, constants: readonly unknown[]): LexBodyRecognizer; //# sourceMappingURL=lex-body.d.ts.map