import { ParserRuleContext, RecognitionException } from "antlr4"; import PlSqlParser from "./antlr/PlSqlParser.js"; /** * Get a parser from a string containing PL/SQL code. * @param input String containing PL/SQL code * @returns PlSqlParser */ export declare function getParserFromInput(input: string): PlSqlParser; /** * Get a parser from a file containing PL/SQL code. * @param inputFile Path to file containing PL/SQL code * @returns PlSqlParser */ export declare function getParserFromFile(inputFile: string): Promise; type ParsedNode = { type: string; text: string; start: string | null; stop: string | null; nodes: ParsedNode[]; } | RecognitionException; /** * Given a string containing PL/SQL code and a parser tree, return a nested tree of nodes * @param input * @param tree * @returns { nodes: ParsedNode[], stats: Record } */ export declare function getParsedNodes(input: string, tree: ParserRuleContext): { nodes: ParsedNode[]; stats: Record; }; export {};