import { type HostRunner } from "../bootstrap/host-mcp.js"; export type SetupOptions = { cwd?: string; /** `--project KEY` */ explicitKey?: string; /** * `--shared`: adopt JAM for the team, writing `.jira-agent/project.yaml` and * `.mcp.json`. Without it setup records the binding for this user only and * leaves the repository untouched. */ shared?: boolean; /** `--migrate`: rewrite a legacy jam entry in .mcp.json. */ migrate?: boolean; /** Injected by tests to isolate ~/.jam. */ home?: string; /** Injected by tests so no test ever registers JAM with a real host. */ runHost?: HostRunner; }; /** * `jam setup`: the one command a teammate should ever need to run by hand. * * Runs the same detect -> plan -> apply -> verify core the agent API uses, so * a human and an agent cannot end up with different notions of what setup does * or what it is allowed to touch. */ export declare function setup(options?: SetupOptions): Promise;