export interface SelectChoice { /** The value returned when chosen. */ value: string; /** Display title. */ title: string; /** Right-hand status hint. */ hint: string; /** Whether the row starts checked. */ selected: boolean; } /** * Render a multi-select checklist and return the chosen values, or null when * the user cancels. Used for the uninstall picker; injected in tests. */ export type PromptSelect = (message: string, choices: SelectChoice[]) => Promise; export declare const promptSelectTargets: PromptSelect; export interface AgentChoice { /** Agent key (returned when selected). */ name: string; /** Display title, e.g. "Cursor (.cursor/skills)". */ title: string; /** Whether the row starts checked (detected agents do). */ selected: boolean; } /** * Offer "install for detected harnesses only, or customize", then (if * customizing, or when nothing is detected) a full multi-select over every * supported harness. Returns the chosen agent keys, or null on cancel. */ export type PromptChooseAgents = (detected: { names: string[]; labels: string[]; }, all: AgentChoice[]) => Promise; export declare const promptChooseAgents: PromptChooseAgents; export type InstallLocation = 'global-shared' | 'each-agent'; /** Ask whether to install once globally (shared + symlinks) or a copy per agent. */ export type PromptLocation = () => Promise; export declare const promptLocation: PromptLocation;