import { type ProjectKind } from '../../commands/init/project-kind.js'; import { type InitStep } from '../../commands/init/steps.js'; import { type LogRecord } from '../../ui/index.js'; import { type Config } from '../../utils/config.js'; import { type ProjectInfo } from '../../utils/get-project-info.js'; export interface InitWizardOptions { readonly cwd: string; readonly projectInfo: ProjectInfo; readonly packageManager: 'npm' | 'yarn' | 'pnpm' | 'bun'; readonly isReInitializing: boolean; /** Skips the final confirmation (`--yes`). */ readonly skipConfirmation: boolean; /** * The type asked for with `--type`, if any. * * The question is still asked — the flag only puts the cursor on what the user * already said they wanted, instead of making them find it in the list again. */ readonly presetKind?: ProjectKind; /** O projeto pedido em `--project`, pelo mesmo motivo. */ readonly presetProjectRoot?: string; /** Execution steps, built only once the config is ready. */ buildSteps(config: Config): InitStep[]; } export interface InitWizardResult { readonly config: Config; readonly logs: readonly LogRecord[]; } export declare function runInitWizard(options: InitWizardOptions): Promise; //# sourceMappingURL=wizard.d.ts.map