import { Agent } from '../agent/agent'; import { ReflectionRequest, ReflectionResult } from './types'; /** * ReflectionService - Provides self-reflection capabilities for agents * * This service evaluates whether an agent's response actually resolves the user's query * or indicates more work to be done. It helps prevent premature loop termination when * the agent itself indicates that additional steps are needed. */ export declare class ReflectionService { private logger; /** * Perform reflection on an assistant message to determine if it should * be the final response or if the agent loop should continue * * @param agent The agent instance that will perform the reflection * @param request The reflection request parameters * @returns Promise resolving to a reflection result with termination decision */ reflect(agent: Agent, request: ReflectionRequest): Promise; } //# sourceMappingURL=reflection-service.d.ts.map