/** * SQL utility functions for safe SQL generation. */ /** * Validates that a string is a safe SQL identifier (column/table name). * Allows only alphanumeric characters and underscores, starting with letter or underscore. * * @param identifier - The identifier to validate * @returns true if valid, false otherwise */ export declare function isSafeSQLIdentifier(identifier: string): boolean; /** * Validates and throws if identifier is not safe for SQL. * * @param identifier - The identifier to validate * @param context - Context for error message (e.g., "dimension name", "field name") * @throws Error if identifier is not safe */ export declare function validateSQLIdentifier(identifier: string, context: string): void; /** * Quotes a SQL identifier for safe use in queries. * Uses backticks, which is how ClickHouse quotes identifiers. * * @param identifier - The identifier to quote * @returns Quoted identifier */ export declare function quoteSQLIdentifier(identifier: string): string; //# sourceMappingURL=sql-utils.d.ts.map