import { type WizardAnswers } from "./answers.js"; /** * A saved answer-set the wizard can start from: the opinionated blueprints that * replace the old recipes. A preset is only a `Partial` — the * composer's {@link defaultAnswers} fills the rest and recomputes `allowedTools`, * so there is still exactly one config-generation path. */ export interface WizardPreset { readonly id: string; readonly title: string; readonly description: string; readonly riskLevel: "low" | "medium" | "high"; /** * The `docs/playbooks/` this preset mirrors. Parity-checked by * `src/__tests__/presets-docs-parity.test.ts`, which asserts the file exists. */ readonly playbook?: string; readonly answers: Partial; } /** * The five built-in starter presets, in wizard-presentation order. Each maps to an * existing playbook. The former recipe → preset mapping now lives as a static table * in docs/reference/presets.md (the recipe surface was removed from the CLI). */ export declare const PRESET_CATALOG: readonly WizardPreset[]; /** Look up a preset by id, or `undefined` when unknown. */ export declare function findPreset(id: string): WizardPreset | undefined; /** Every preset id, in catalog order. */ export declare function presetIds(): readonly string[]; /** Resolve a preset to full wizard answers via the single {@link defaultAnswers} path. */ export declare function presetAnswers(preset: WizardPreset): WizardAnswers; //# sourceMappingURL=presets.d.ts.map