/** * The base ORM configuration: every module's entities, migrations and subscribers, in module order. * * Collecting them loads every things-factory module of the app, so it runs when the database is * initialized, never when shell is imported. Most modules import shell themselves. Collected at import * time, each of them received shell's exports half-built (`domainMiddleware` was still undefined), * threw at its own top level, and was dropped from the require cache — 87 load errors for a bare * `import '@things-factory/shell'` from an ESM entry. Node 25 then failed with ERR_INTERNAL_ASSERTION * when the same entry imported one of those dropped modules next. * * The modules are collected once. Every later call (the read and transaction data sources, the * migration commands) gets the same configuration without loading the modules again. */ export declare function ormconfig(): any;