/**
 * Tool Handlers for Azure DevOps Operations
 * Implements MCP tool handlers with dynamic environment switching
 * Enhanced with iteration path TF401347 error fix
 */
import { AzureDevOpsConfig } from '../types/index.js';
export declare class ToolHandlers {
    private currentConfig;
    /**
     * Set the current Azure DevOps configuration
     */
    setCurrentConfig(config: AzureDevOpsConfig): void;
    /**
     * Handle tool calls with current environment context
     */
    handleToolCall(request: any): Promise<any>;
    /**
     * Make authenticated API request to Azure DevOps
     */
    private makeApiRequest;
    /**
     * Get work items from Azure DevOps
     */
    private getWorkItems;
    /**
     * Normalize iteration path format for Azure DevOps API compatibility
     * Format: ProjectName\SprintName (NOT ProjectName\Iteration\SprintName)
     * Azure DevOps REST API expects direct hierarchy without 'Iteration' component
     * Fixed TF401347 error by using correct \Iteration\ prefix format
     */
    private normalizeIterationPath;
    /**
     * Validate if an iteration path exists in the project using improved logic
     */
    private validateIterationPath;
    /**
     * Update work item iteration path post-creation
     */
    private updateWorkItemIterationPath;
    /**
     * Validate work item state for the given work item type
     * Prevents invalid state errors by checking supported states
     */
    private validateWorkItemState;
    /**
     * Create a new work item in Azure DevOps with enhanced iteration path handling
     */
    private createWorkItem;
    /**
     * Update an existing work item in Azure DevOps
     */
    private updateWorkItem;
    /**
     * Add a comment to an existing work item in Azure DevOps
     * Fixed API version compatibility issue - using 6.0 for comments
     */
    private addWorkItemComment;
    /**
     * Get repositories from Azure DevOps project
     */
    private getRepositories;
    /**
     * Get build definitions and recent builds
     */
    private getBuilds;
    /**
     * Get pull requests from Azure DevOps repositories
     */
    private getPullRequests;
    /**
     * Trigger a build pipeline in Azure DevOps
     */
    private triggerPipeline;
    /**
     * Get pipeline status and detailed information
     */
    private getPipelineStatus;
}
//# sourceMappingURL=tool-handlers.d.ts.map