/** * JudgeDisplayComponent — renders the goal judge's decision inline in the chat. */ import type { GoalEvaluationPayload } from '@mastra/core/stream'; import type { ChatSpacingKind } from './chat-spacing.js'; import { WidthAwareContainer } from './width-aware-container.js'; /** Display-only decision derived from a goal evaluation. */ export interface GoalJudgeResult { decision: 'done' | 'continue' | 'waiting' | 'paused'; reason: string; } /** Map a core {@link GoalEvaluationPayload} to a display decision. */ export declare function evaluationToJudgeResult(payload: GoalEvaluationPayload): GoalJudgeResult; export declare class JudgeDisplayComponent extends WidthAwareContainer { private result; private turnsUsed; private maxTurns; private activity; private streamingReason; constructor(result?: GoalJudgeResult | null, turnsUsed?: number, maxTurns?: number); addActivity(line: string): void; setStreamingReason(reason: string): void; setResult(result: GoalJudgeResult, turnsUsed: number, maxTurns: number): void; /** Render the result of an in-loop goal evaluation chunk. */ setEvaluation(payload: GoalEvaluationPayload): void; setInterrupted(): void; protected rebuildForWidth(termWidth: number): void; private renderActivityLine; private renderHeader; private renderRow; private wrapLine; private padLine; getChatSpacingKind(): ChatSpacingKind; } //# sourceMappingURL=judge-display.d.ts.map