import type { FastifyInstance } from 'fastify'; import { EntityService } from '@mostajs/orm'; import { ProjectManager } from '@mostajs/mproject'; export interface NetServer { app: FastifyInstance; entityService: EntityService; pm: ProjectManager; rm: any; stop: () => Promise; } /** * Start the @mostajs/net server. * * 1. Load config from .env.local (MOSTA_NET_*) * 2. Connect to ORM via @mostajs/orm (reads MOSTA_ORM_* / DB_DIALECT + SGBD_URI) * 3. Create EntityService * 4. Load and start enabled transports * 5. Wire transports to EntityService * 6. Listen on MOSTA_NET_PORT */ export declare function startServer(): Promise;