import { ParserRuleContext } from "antlr4ng"; import type { QueryExpr } from "../ir/ir.js"; import { type StatementCategory } from "../ir/statement.js"; /** Lower a parsed SQLite file (`parse`: a `;`-separated sql_stmt_list) into the IR. A single * SELECT/VALUES statement lowers fully; anything else (DDL/DML/pragma/utility, multi-statement * batches, EXPLAIN) becomes a flagged non-query body — a valid parse never throws. */ export declare function lower(tree: ParserRuleContext): QueryExpr; /** Per-statement categories for every `sql_stmt` in a parsed `parse`, in source order — the * file-level view behind statementCategory (which folds >1 into "compound"). Parity with the * other dialects; feeds the corpus reclassifier. */ export declare function statementCategories(tree: ParserRuleContext): StatementCategory[];