/**
 * Interactive summary helpers.
 */
import { type StepPreview } from '../../infra/config/index.js';
import { type TaskHistoryLocale, type ConversationMessage, type TaskHistorySummaryItem, type WorkflowContext, type PostSummaryAction, type SummaryActionValue, type SummaryActionOption, type SummaryActionLabels, type InteractiveSummaryUIText, type ActionWithoutExecuteUIText } from './interactive-summary-types.js';
export type { ConversationMessage, TaskHistorySummaryItem, WorkflowContext, PostSummaryAction, SummaryActionValue, SummaryActionOption, SummaryActionLabels, InteractiveModeAction, InteractiveSummaryUIText, ActionWithoutExecuteUIText, } from './interactive-summary-types.js';
export { BASE_SUMMARY_ACTIONS } from './interactive-summary-types.js';
export declare function formatStepPreviews(previews: StepPreview[], lang: TaskHistoryLocale): string;
export declare function normalizeTaskHistorySummary(items: TaskHistorySummaryItem[], lang: TaskHistoryLocale): TaskHistorySummaryItem[];
export declare function formatTaskHistorySummary(taskHistory: TaskHistorySummaryItem[], lang: TaskHistoryLocale): string;
export declare function buildSummaryPrompt(history: ConversationMessage[], hasSession: boolean, lang: 'en' | 'ja', noTranscriptNote: string, conversationLabel: string, workflowContext?: WorkflowContext, sourceContext?: string, promptContext?: string): string;
export declare function buildSummaryActionOptions(labels: SummaryActionLabels, append?: readonly SummaryActionValue[], exclude?: readonly SummaryActionValue[]): SummaryActionOption[];
export declare function selectSummaryAction(task: string, proposedLabel: string, actionPrompt: string, options: SummaryActionOption[]): Promise<PostSummaryAction | null>;
export declare function selectPostSummaryAction(task: string, proposedLabel: string, ui: InteractiveSummaryUIText): Promise<PostSummaryAction | null>;
/**
 * Build the /replay command hint for intro messages.
 *
 * Returns a hint string when previous order content is available, empty string otherwise.
 */
export declare function buildReplayHint(lang: 'en' | 'ja', hasPreviousOrder: boolean): string;
/**
 * Create an action selector that excludes the 'execute' option.
 *
 * Used by retry and instruct modes where worktree execution is assumed.
 */
export declare function createSelectActionWithoutExecute(ui: ActionWithoutExecuteUIText): (task: string, lang: 'en' | 'ja') => Promise<PostSummaryAction | null>;
//# sourceMappingURL=interactive-summary.d.ts.map