import type { ParseResult } from "../parse-result.js"; /** The CST rooted at `root` (a `;`-separated batch of statements + EOF); see `ParseResult` for * the full result shape. */ export type { ParseResult } from "../parse-result.js"; /** * Lex + parse Trino SQL (one statement or a `;`-separated batch). 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, just faster on valid input. */ export declare function parseTrino(sql: string): ParseResult;