/**
 * KiroGraph MCP Tool Definitions + Handlers
 */
import KiroGraph from '../index';
export interface ToolDefinition {
    name: string;
    description: string;
    inputSchema: {
        type: 'object';
        properties: Record<string, {
            type: string;
            description: string;
            enum?: string[];
            default?: unknown;
        }>;
        required?: string[];
    };
}
export declare const tools: ToolDefinition[];
export declare class ToolHandler {
    private defaultCg;
    private connections;
    constructor(cg: KiroGraph | null);
    setDefaultKiroGraph(cg: KiroGraph): void;
    /** Close all cached cross-project connections. */
    closeAll(): void;
    private getConnection;
    handle(toolName: string, args: Record<string, unknown>): Promise<{
        content: Array<{
            type: 'text';
            text: string;
        }>;
        isError?: boolean;
    }>;
    private dispatch;
}
//# sourceMappingURL=tools.d.ts.map