/** * `slowcook dev-env init` — scaffold `.brewing/dev-env.yaml` from * detected apps in the consumer's repo. Phase 2.1 of the dev-env arc. * * Detection heuristics (lightweight, no actual build): * - Walks `apps/*` looking for sub-dirs with a package.json. * - Infers `mode` from dependencies: * Next.js → mode: dev (hot-reload-friendly) * NestJS → mode: nest-watch * fallback → mode: start * - Assigns sequential ports starting at 3000. * - Sets reasonable defaults for source_branch, persistence. * - Leaves ssh_target empty (consumer fills in). * * The output is a STARTING POINT — consumers tweak ports, container * names, ssh_target details by hand. `init --force` overwrites; the * default refuses to clobber an existing file. */ interface DetectedApp { name: string; mode: "dev" | "start" | "nest-watch"; port: number; } export declare function detectAppsForInit(repoRoot: string, appsDir?: string): DetectedApp[]; export declare function renderDevEnvYaml(apps: DetectedApp[]): string; export declare function devEnvInit(argv: string[]): Promise; export {}; //# sourceMappingURL=init.d.ts.map