/** * Walk parents from `cwd` looking for the nearest enclosing repository * root, identified by either a `.git/` directory or a `fjall-config.json` * file. Returns the absolute path of the first directory matching either * marker, or falls back to `cwd` when no ancestor matches. * * Used by the CLI scaffold pre-flight so `scanLocalRepository` always * walks from the repo root: a `fjall create app` run from * `services/api/` still discovers existing markers under * `services/worker/fjall/`, not only the descendants of `cwd`. */ export declare function findRepoRoot(cwd: string): Promise;