import type { Prompter } from "#setup/prompter.js"; export interface RegistryFlowDeps { browseRegistryCatalog: (typeof import("#cli/commands/registry.js"))["browseRegistryCatalog"]; getRegistryItemManifest: (typeof import("#cli/commands/registry.js"))["getRegistryItemManifest"]; installRegistryItem: (typeof import("#cli/commands/registry.js"))["installRegistryItem"]; } export type RegistryFlowResult = { kind: "done"; addedItems: readonly string[]; output?: readonly string[]; } | { kind: "cancelled"; }; /** Runs the categorized interactive registry catalog used by the dev TUI's `/add`. */ export declare function runRegistryFlow(input: { appRoot: string; prompter: Prompter; signal?: AbortSignal; deps?: Partial; }): Promise;