/**
 * Database Query Tool
 *
 * Allows the AI to execute SQL queries on PostgreSQL databases with permission control
 */
import { PostgreSQLManager } from "../database/postgres-manager";
export interface DatabaseQueryToolInput {
    query: string;
    parameters?: any[];
    explain?: boolean;
    dryRun?: boolean;
}
export interface DatabaseQueryToolResult {
    success: boolean;
    data?: any[];
    rowCount?: number;
    error?: string;
    executionTime: number;
    query: string;
    queryPlan?: any;
    warnings?: string[];
}
export declare class DatabaseQueryTool {
    private dbManager;
    constructor(dbManager: PostgreSQLManager);
    execute(input: DatabaseQueryToolInput): Promise<DatabaseQueryToolResult>;
    getDefinition(): {
        name: string;
        description: string;
        inputSchema: {
            type: string;
            properties: {
                query: {
                    type: string;
                    description: string;
                };
                parameters: {
                    type: string;
                    description: string;
                    items: {
                        type: string;
                    };
                };
                explain: {
                    type: string;
                    description: string;
                    default: boolean;
                };
                dryRun: {
                    type: string;
                    description: string;
                    default: boolean;
                };
            };
            required: string[];
        };
    };
}
//# sourceMappingURL=database-query-tool.d.ts.map