/**
 * Tests for Story 98-17: Move Cyclist web server and API layer into core
 *
 * These tests define the contract for the server module after extraction
 * from packages/cyclist into packages/core. The server must:
 *
 * 1. Export a working Express app with all API routes mounted
 * 2. Export createTerminalServer() that returns an HTTP server with WebSocket support
 * 3. Re-export key functions (broadcastStats, getStoryInfo, isBikeRackMode, etc.)
 * 4. Manage port files (.wheelhub-port, .wheelhub-pid)
 * 5. Initialize settings and grants on startup
 * 6. Support plugin router loading
 *
 * Test categories:
 * 1. Module exports — all expected functions and types are exported
 * 2. Express app — routes mounted, health check works
 * 3. Server factory — createTerminalServer returns HTTP server
 * 4. Port file management — write/read/cleanup port files
 * 5. OTEL config — getOtelConfig returns config based on port file
 * 6. API route factories — all 31 route factories return Express Routers
 * 7. Re-exports — Cyclist-consumed functions are available
 *
 * Run with: cd packages/core && npm test
 */
export {};
//# sourceMappingURL=server.test.d.ts.map