import { SqlOperation } from '../types/query'; /** * Detect the SQL operation type from the query text. */ export declare function detectOperation(sql: string): SqlOperation; /** * Extract the primary table name from a SQL statement. * Handles quoted identifiers (backtick, double-quote, square bracket). */ export declare function extractPrimaryTable(sql: string): string; /** * Extract all column names referenced in WHERE, ORDER BY, GROUP BY, JOIN ON. * Returns a deduplicated lowercase array. */ export declare function extractReferencedColumns(sql: string): string[]; /** * Truncate a long SQL string to maxLen chars for display purposes. */ export declare function truncateSql(sql: string, maxLen?: number): string; /** * Mask likely sensitive literals (numbers after = and quoted strings). * Useful before sending queries to external AI endpoints. */ export declare function maskSensitiveLiterals(sql: string): string; //# sourceMappingURL=sqlParser.d.ts.map