/** * Delegation Hints Utility * * Provides intelligent hints for task delegation: * - Complexity scoring * - Agent recommendation * - Parallel candidates * - Time estimation */ import type { TaskInfo } from 'hive-core'; export type Complexity = 'simple' | 'medium' | 'complex'; export interface DelegationHints { estimatedComplexity: Complexity; recommendedAgent: string; parallelCandidates: string[]; estimatedTime: string; warnings: string[]; } /** * Calculate task complexity based on task name and description */ export declare function calculateComplexity(taskName: string, taskDescription?: string): Complexity; /** * Select the best agent for a task */ export declare function selectAgent(taskName: string, taskDescription?: string): { agent: string; reason: string; }; /** * Find tasks that can be executed in parallel */ export declare function findParallelCandidates(currentTask: string, allTasks: TaskInfo[], dependencies: Map): string[]; /** * Estimate time for a task */ export declare function estimateTime(taskName: string, taskDescription?: string): string; /** * Generate warnings for a task */ export declare function generateWarnings(taskName: string, taskDescription?: string, allTasks?: TaskInfo[]): string[]; /** * Get complete delegation hints for a task */ export declare function getDelegationHints(taskName: string, taskDescription: string | undefined, allTasks: TaskInfo[], dependencies: Map): DelegationHints;