/** * `slowcook run-mock ` — 0.16.0-α.17. * * One-command launch of the mock app + auto-pull when plate force- * pushes the mockup branch. Removes the manual cycle of: * git fetch + git checkout + cd mock + npm install + npm run dev * ...wait for plate... * git pull * * What it does: * 1. Resolves story id → mockup branch (`slowcook/mockup/story-N`). * 2. `git fetch origin ` then `git checkout `. * 3. `cd mock && npm install` (skipped if package-lock.json is up-to-date). * 4. Spawns `npm run dev` in `mock/` (Next dev on :3100). * 5. Background poll: every 15s `git fetch origin `; if origin * moved, `git pull --ff-only`. Next-dev's filesystem watcher * hot-reloads automatically when the files change. * 6. Ctrl-C kills the dev server + the poll loop. * * Out of scope (queued for follow-up alpha): * - Worktree isolation (don't change the user's branch state) * * 0.18.0-α.2 — gh-proxy. Spawns a localhost http proxy that signs every * request with the local `gh auth token`; overlay reads NEXT_PUBLIC_ * SLOWCOOK_GH_PROXY and skips the PAT prompt entirely. Falls back to * the prompt if gh isn't installed or not authed. * * Env vars exported into the dev-server child process so the overlay * activates without manual setup: * NEXT_PUBLIC_SLOWCOOK_REVIEW=1 * NEXT_PUBLIC_SLOWCOOK_OWNER= * NEXT_PUBLIC_SLOWCOOK_REPO= * NEXT_PUBLIC_SLOWCOOK_PR_NUMBER= * NEXT_PUBLIC_SLOWCOOK_STORY_ID= * NEXT_PUBLIC_SLOWCOOK_GH_PROXY=http://localhost: (when gh authed) */ export declare function runMock(argv: string[], _cliVersion: string): Promise; //# sourceMappingURL=index.d.ts.map