import type { CodegraphAutoStakeOutcome } from './init-options.js'; /** * Run a REAL upstream `codegraph init` (not just mkdir + marker) so the schema * actually has a `codegraph.db`, which is what post-slice auto-refresh and the * pre-dispatch preflight gate on. `codegraph init` (WITHOUT `--index`) is fast * (~1 s) and offline-safe — it only `Parser.init()`s WASM grammars that resolve * from node_modules; the slow/offline concern applies to `index` (full build), * not `init`. */ export declare function stakeCodegraphForInit(nextActions: string[], warnings: string[], projectRoot: string): Promise;