export interface BootstrapOptions { /** Target project root (absolute path). */ dir: string; /** Absolute path to the dist/forge-payload/ directory. */ payloadRoot: string; } /** Preflight check results (Step 9). */ export interface BootstrapPreflight { /** True if the claude binary was found on PATH and responded to --version. */ claudeAvailable: boolean; /** * Always false in T03 — no reliable offline check for workflow-tool support. * Confirmed at runtime on first /forge:init. */ workflowToolChecked: boolean; /** Non-fatal preflight warnings. */ warnings: string[]; } export interface BootstrapResult { ok: boolean; /** Paths created this run (dirs and files). */ created: string[]; /** Paths already present and unchanged (idempotent skip). */ skipped: string[]; /** Non-fatal issues encountered. */ warnings: string[]; /** Preflight check results (Step 9, FORGE-S31-T03). */ preflight: BootstrapPreflight; } /** * Bootstrap a Claude Code project from the bundled forge-payload. * * This function is deterministic and idempotent: * - Running against a fresh dir scaffolds everything. * - Running against a partially-bootstrapped dir repairs only missing items. * - Running against a fully-bootstrapped dir is a no-op (byte-identical). * * .forge/config.json and .forge/store/** are never touched. */ export declare function bootstrapClaudeProject(opts: BootstrapOptions): BootstrapResult;