/** * `crew init` — create a `crew.config.ts` in the current working directory or, * with `--global`, in the XDG groundcrew config dir. The contents come from * the shipped `crew.config.example.ts` so a fresh install skips the manual * `cp` dance documented in the README. */ import { type LocalRunnerSetting } from "../lib/config.ts"; export declare const INIT_AGENTS: readonly ["claude", "codex", "cursor", "pi"]; type InitConfigScope = "global" | "local"; type InitAgent = (typeof INIT_AGENTS)[number]; interface InitConfigOptions { /** Where to write the config. Defaults to "local" (cwd). */ scope?: InitConfigScope; /** Overwrite an existing destination. */ force?: boolean; /** Report the planned action without touching the filesystem. */ dryRun?: boolean; /** Override for the working directory; defaults to `process.cwd()`. */ cwd?: string; /** Pre-fill workspace.projectDir in the generated config. */ projectDir?: string; /** Pre-fill workspace.knownRepositories in the generated config. */ repositories?: string[]; /** Pre-fill local.runner in the generated config. */ runner?: LocalRunnerSetting; /** Choose the single built-in agent preset enabled by the generated config. */ agent?: InitAgent; /** Override the source template path. */ examplePath?: string; } type InitConfigOutcome = "dry-run-would-write" | "exists" | "wrote"; interface InitConfigResult { destination: string; outcome: InitConfigOutcome; } export declare function initConfig(options?: InitConfigOptions): InitConfigResult; export declare function initConfigCli(argv: string[]): Promise; export {}; //# sourceMappingURL=init.d.ts.map