import { type ResolvedCoderProjectContext } from '../../../../../scripts/run-codex-prompts/common/resolveCoderProjectContext';
import type { NormalizedPromptRunnerSelectionCliOptions } from '../../common/promptRunnerCliOptions';
import { runPlanningHarness } from './runPlanningHarness';
/**
 * Terminal interface also used by deterministic conversation fixtures.
 * @private internal type of `coder plan`
 */
export type PlanningSessionIo = {
    readonly readMessage: () => Promise<string | undefined>;
    readonly write: (message: string) => void;
    readonly signal: AbortSignal;
};
/**
 * Runs one multi-topic planning conversation; only explicit save commands cross the PRD write boundary.
 * @private internal utility of `coder plan`
 */
export declare function runPlanningSession(options: NormalizedPromptRunnerSelectionCliOptions & {
    readonly projectPath: string;
    readonly agent?: string;
    readonly context?: string;
    readonly projectContext?: ResolvedCoderProjectContext;
    readonly template?: string;
    readonly preexistingChangedPaths?: ReadonlySet<string>;
}, io: PlanningSessionIo, harness?: typeof runPlanningHarness): Promise<ReadonlyMap<string, string>>;
