import type { TaskExecutionOptions } from '../tasks/execute/types.js'; import { type InitialTaskContext } from '../interactive/conversationPlan.js'; import { type SummaryActionValue } from '../interactive/interactive-summary.js'; import type { TaskHistorySummaryItem } from '../interactive/interactive-summary-types.js'; import type { InteractiveModeResult } from '../interactive/interactive.js'; export interface RunTuiOptions { cwd: string; lang: 'en' | 'ja'; workflowId?: string; previewCount: number | undefined; agentOverrides?: TaskExecutionOptions; taskHistory: TaskHistorySummaryItem[]; userMessage?: string; /** Run selected by `takt list`, used as the initial conversation reference. */ initialTellRunSlug?: string; /** Lightweight task metadata selected by `takt list`; reports are not loaded. */ initialTaskContext?: InitialTaskContext; sourceContext?: string; excludeActions?: readonly SummaryActionValue[]; continueSession?: boolean; dispatch?: (workflowId: string, result: InteractiveModeResult) => Promise; } export type TuiRunResult = { kind: 'cancelled'; } | { kind: 'selected'; workflowId: string; result: InteractiveModeResult; }; export declare function runTui(options: RunTuiOptions): Promise; //# sourceMappingURL=runTui.d.ts.map