/** * Tool: execute_query * Executes arbitrary READ-ONLY SQL queries * * SECURITY: This tool enforces read-only execution through: * 1. Connection-level read-only mode (default_transaction_read_only=on) * 2. Basic SQL validation to reject obvious write operations * 3. Query timeout to prevent long-running queries * * WARNING: Despite these protections, users should NEVER attempt to modify data. */ export interface ExecuteQueryInput { query: string; maxRows?: number; } export interface ExecuteQueryOutput { columns: string[]; rows: any[]; rowCount: number; executionTimeMs: number; warning?: string; } /** * Executes an arbitrary read-only SQL query * * IMPORTANT: This tool is READ-ONLY. The database connection is configured with * default_transaction_read_only=on, preventing any data modifications. */ export declare function executeQueryTool(input: ExecuteQueryInput): Promise; //# sourceMappingURL=executeQuery.d.ts.map