import { BaseAgent } from './BaseAgent'; import { Session } from '../core/Session'; export declare class AgentRequestHandler { private agent; constructor(agent: BaseAgent); getAgent(): BaseAgent; onCreateSession(owner: string, description: string, enhancePrompt?: boolean): Promise; onChat(sessionId: string, message: string): Promise; } export interface CommunicationProtocol { start(): Promise; stop(): Promise; } export declare abstract class BaseCommunicationProtocol implements CommunicationProtocol { protected handler: AgentRequestHandler; constructor(handler: AgentRequestHandler); abstract start(): Promise; abstract stop(): Promise; }