/**
 * @module @arcis/node/sanitizers/sql
 * SQL injection prevention
 */
import type { SanitizeResult } from '../core/types';
/**
 * Sanitizes a string to prevent SQL injection attacks.
 * Replaces dangerous SQL patterns with [BLOCKED].
 *
 * @param input - The string to sanitize
 * @param collectThreats - Whether to collect threat information (default: false for performance)
 * @returns Sanitized string or SanitizeResult if collectThreats is true
 *
 * @example
 * sanitizeSql("'; DROP TABLE users; --")
 * // Returns: "';  TABLE users  "
 */
export declare function sanitizeSql(input: string, collectThreats?: false): string;
export declare function sanitizeSql(input: string, collectThreats: true): SanitizeResult;
/**
 * Checks if a string contains potential SQL injection patterns.
 * Does not sanitize — use sanitizeSql() for that.
 *
 * @param input - The string to check
 * @returns True if SQL injection patterns detected
 */
export declare function detectSql(input: string): boolean;
//# sourceMappingURL=sql.d.ts.map