import type { ApplyModelOutcome } from "#setup/flows/model.js"; import type { PromptCommandHandler } from "./runner.js"; import type { TuiSetupFlows } from "./setup-commands.js"; export interface PromptCommandHandlerOptions { readonly appRoot?: string; /** Test seam; defaults to the model flow's shared source-change apply. */ readonly applyModel?: (input: { appRoot: string; slug: string; }) => Promise; /** Test seam; defaults to the model flow's external-provider refusal check. */ readonly modelChangeRefusal?: (appRoot: string) => Promise; /** Test seam; forwarded to runTuiSetupCommand's injectable flows. */ readonly flows?: Partial; } export declare function createPromptCommandHandler(options: PromptCommandHandlerOptions): PromptCommandHandler;