import { ParserRuleContext } from "antlr4ng"; import type { QueryExpr } from "../ir/ir.js"; import { type StatementCategory } from "../ir/statement.js"; /** Lower a parsed GoogleSQL file (`stmts`: a `;`-separated batch) into the IR. */ export declare function lower(tree: ParserRuleContext): QueryExpr; /** Per-statement categories for every top-level SQL statement body in a parsed `root`, in source * order — the file-level view behind statementCategory (which folds >1 into "compound"), using the * same `bodyCategory` per element. Parity with the other dialects; feeds the corpus reclassifier. */ export declare function statementCategories(tree: ParserRuleContext): StatementCategory[];