/** Screenshot-faithful TUI quick-pick for bare `/workflow`. */ import type { ExtensionCommandContext, Theme } from "@earendil-works/pi-coding-agent"; import { type Component, type TUI } from "@earendil-works/pi-tui"; import type { WorkflowWelcomeAction } from "./commands/welcome.ts"; import type { WorkflowEntry } from "./workflow-catalog.ts"; type PickerCtx = { ui: Pick; }; /** * Render in the host's editor slot, like `/settings`, so there is exactly one active interaction * surface. PI restores the ordinary editor after `done` settles this custom component. */ export declare function pickWorkflowInTui(ctx: PickerCtx, entries: readonly WorkflowEntry[], directory: string): Promise; /** Exported for deterministic rendering and keyboard tests without starting a PI session. */ export declare function createWorkflowPicker(tui: TUI, theme: Theme, entries: readonly WorkflowEntry[], directory: string, done: (selection: WorkflowWelcomeAction) => void): Component; export {}; //# sourceMappingURL=workflow-picker.d.ts.map