import { AgentMessage, AgentIntent, AgentContext, AgentCommunicationHandler, IntentResolver, WorkflowConfig } from "../interfaces/AgentCommunication";
import { SubAgentOrchestrator } from "../orchestrator/SubAgentOrchestrator";
export declare class AgentCommunicationManager implements AgentCommunicationHandler {
    private messageHistory;
    private orchestrator;
    private intentResolver;
    constructor(orchestrator: SubAgentOrchestrator, intentResolver?: IntentResolver);
    sendMessage(message: AgentMessage): Promise<void>;
    receiveMessage(agentName: string): Promise<AgentMessage | null>;
    broadcastMessage(message: Omit<AgentMessage, "to">): Promise<void>;
    getMessageHistory(agentName?: string): Promise<AgentMessage[]>;
    clearHistory(): Promise<void>;
    private saveMessageLog;
    runAutoWorkflow(initialAgent: string, context: AgentContext, config: WorkflowConfig): Promise<{
        success: boolean;
        outputs: Record<string, any>;
        messages: AgentMessage[];
    }>;
}
export declare class DefaultIntentResolver implements IntentResolver {
    analyzeOutput(output: any, _context: AgentContext): Promise<AgentIntent>;
    shouldTriggerNextAgent(intent: AgentIntent, _context: AgentContext): Promise<boolean>;
    getNextAgent(_intent: AgentIntent, context: AgentContext): Promise<string | null>;
    createStarterPrompt(intent: AgentIntent, context: AgentContext): Promise<string>;
    private calculateConfidence;
}
//# sourceMappingURL=AgentCommunicationManager.d.ts.map