/**
 * Regression test for the v-15-f/g daemon-crash bug:
 *
 *   POST /tracks/abort while a track is suspended in __ccweb_ask_user
 *   used to bubble the reject up through bridge.requestInput →
 *   builtin → train.runFile → runner.run → registry.start's `void
 *   runner.run(...).then(...)`. Because that .then had no .catch, the
 *   rejection escaped as `unhandledRejection`, and the global fatal
 *   handler in logger.ts called process.exit(1) — ccweb daemon died.
 *
 * This script:
 *   1. Installs an unhandledRejection listener that flips a flag.
 *   2. Starts a registry-driven track that blocks on __ccweb_ask_user.
 *   3. Calls registry.abort() once the ask_user push fires.
 *   4. Verifies:
 *      - flag stays false (no escaping promise)
 *      - registry.getState() reports status === 'cancelled'
 *      - track_run_complete broadcast has ok=false, errorType=UserCancelError
 *
 * Run:  cd backend && npx ts-node src/tracks/__tests__/verify-track-cancel.ts
 */
export {};
//# sourceMappingURL=verify-track-cancel.d.ts.map