import type { CstNode, IToken } from 'chevrotain'; export interface ParseError { message: string; token: IToken; previousToken?: IToken; ruleStack: string[]; } export interface ParseResult { cst: CstNode | undefined; errors: ParseError[]; } export declare function parseJava(text: string): ParseResult; //# sourceMappingURL=parser.d.ts.map