import { type Token } from './token.js'; export declare class Lexer { private source; private pos; private line; private column; private file; constructor(source: string, file?: string); tokenize(): Token[]; nextToken(): Token; /** * Scan SQL fragment from current position. * Called by the parser when it expects embedded SQL. * Scans until it finds: comma + identifier + equals at paren depth 0, * or a closing paren at depth 0. * * @param tokens - The token array to scan through * @param startIndex - Index in tokens where SQL starts * @returns { sql: string, endIndex: number } - The SQL text and the index after it */ static scanSQLBoundary(source: string, startOffset: number, openParenDepth: number): { sql: string; endOffset: number; }; private static skipStringInSQL; private readComment; private readString; private readNumber; private readIdentifierOrKeyword; private readPunctuation; private skipWhitespace; private peek; private peekNext; private advance; private isAtEnd; private isDigit; private isAlpha; private isAlphaNumeric; private readTripleQuoteString; private location; private makeToken; } //# sourceMappingURL=lexer.d.ts.map