import { type DiscoveredCandidate } from "./discovery.js"; /** * `cortex add projects` — interactive wizard that discovers candidate * projects via enabled adapters and writes the chosen entries into * `config/projects.local.yaml`. * * Architecture: * 1. Load cortex.yaml to see which adapters are enabled. * 2. For each enabled adapter that implements `discoverProjects`, * instantiate it with minimal stub context (no Engram subprocess, * no LLM) and call the method. Adapters that reach beyond * authentication will fail gracefully — the wizard logs the * failure and moves on. * 3. Flatten candidates, show a multi-select checklist, let the user * confirm slug/name per picked entry, then merge into projects. * 4. Manual entry stays available as a fallback for anything * discovery can't see. * * Never runs non-interactively — no TTY means no way to ask the user * which candidates to keep. */ export declare function runProjectsWizard(_args: readonly string[]): Promise; export declare function pickAndRefineCandidates(candidates: readonly DiscoveredCandidate[]): Promise; export declare function promptManualEntries(existingSlugs: readonly string[]): Promise; //# sourceMappingURL=projects-wizard.d.ts.map