import type { IAgentHostPlanReview } from "../agentHostPlanReview.js"; import { ChatInputResponseKind, type ChatInputAnswer, type ChatInputRequest } from "../state/protocol/state.js"; export interface IAgentPlanReviewResult { readonly rejected: boolean; readonly actionId?: string; readonly action?: string; readonly feedback?: string; readonly feedbackOverall?: string; } export interface IAgentPlanReviewCompletion { readonly response: ChatInputResponseKind; readonly answers?: Record; } /** Client-side presentation and answer codecs; the original protocol request remains unchanged. */ export interface IAgentPlanReview { readonly review: Omit; toInputCompletion(result: IAgentPlanReviewResult): IAgentPlanReviewCompletion; fromInputCompletion(response: ChatInputResponseKind, answers: Record | undefined): IAgentPlanReviewResult | undefined; } /** Selects one complete convention for both live requests and restored response parts. */ export declare function readAgentPlanReview(request: ChatInputRequest): IAgentPlanReview | undefined;