import type { CoderTeamScope } from '../../../../../scripts/run-codex-prompts/team/CoderTeamRuntime'; import { type PlanningMessage, type PlanningReply } from './planningProtocol'; /** * Runs the same read-only protocol throughout the delegation tree. Only the primary caller can receive proposals. * @private internal utility of `coder plan` */ export declare function discussPlanningTurn(options: { readonly projectPath: string; readonly history: PlanningMessage[]; readonly signal: AbortSignal; readonly infer: () => Promise; readonly team?: CoderTeamScope; readonly isAdviser?: boolean; readonly write?: (message: string) => void; }): Promise;