import { type ComponentMeta } from '../../commands/add/dependency-resolver.js'; import { type LogRecord } from '../../ui/index.js'; export interface AddWizardOptions { /** Components already given on the command line — they skip selection. */ readonly preselected: readonly string[]; /** Loads the available names; only called when there is a selection to make. */ loadNames(): Promise; resolve(names: string[]): Promise<{ components: ComponentMeta[]; dependencies: string[]; }>; /** Skips the confirmation (`--yes`). */ readonly skipConfirmation: boolean; installDependencies(packages: string[]): Promise; installComponent(component: ComponentMeta): Promise; /** Only called when dark-mode is part of the install. */ setupDarkMode(indexHtml: string): Promise; /** * Where index.html should be, according to the configured project type. * * A fixed `src/index.html` only exists in a single Angular app: in a workspace * it sits under `apps//`, and in Analog it is Vite's entry page, at the * project root. */ readonly defaultIndexHtml: string; } export interface AddWizardResult { readonly installed: readonly string[]; readonly logs: readonly LogRecord[]; } export declare function runAddWizard(options: AddWizardOptions): Promise; //# sourceMappingURL=wizard.d.ts.map