import { type Lexer, ListTokenSource } from "antlr4ng"; import type { SyntaxDiagnostic } from "../parse-diagnostics.js"; /** * Lex `sql` and return a token source with the DOT_IDENTIFIER rewrite applied, plus positioned * diagnostics for string/bytes/identifier literals with invalid escapes (ZetaSQL validates these in * the parser as syntax errors). The lexer's error listeners (attached by the caller) fire during the * full lex here. */ export declare function dotPathTokenSource(sql: string, lexer: Lexer): { source: ListTokenSource; escapeDiagnostics: SyntaxDiagnostic[]; };