import type { ParseResult } from "../parse-result.js"; /** The CST rooted at `tsql_file` (`batch* EOF` — the full statement range); see `ParseResult` for * the full result shape. */ export type { ParseResult } from "../parse-result.js"; /** * Lex + parse a T-SQL input via the grammar's full-file rule (`tsql_file` — `batch* EOF`), the same * shape as `parseDatabricks`/`parseSnowflake`: one entry that accepts any statement (query, DML, DDL, * control-flow, admin) and a `;`-separated batch of them. EOF-anchored, so trailing garbage is an * error rather than silently dropped. Two-stage parsing: try the fast SLL prediction mode first (bail * on the first conflict), fall back to full LL only when SLL fails — same result LL alone would give. */ export declare function parseTSql(sql: string): ParseResult;