/** * Composition root for the internal sync engine's concrete adapters (P8-C). * * This module is the ONLY place where the engine wiring names concrete * adapter classes: the MikroORM SQLite runtime (scalar schema generation, * storage opening + schema migration + mapping registration, the flush * coordinator binding, and the scalar persistence provider), the MikroORM * polling engine, the full-direct Google Sheets API remote provider, and the * ADC-backed HTTP transport used by existing-sheet adoption reads. Every * block is extracted verbatim from the former in-engine wiring sites * (`SyncServiceBootstrap`, `remoteProvider`, `pollingSupervisor`, * `existingSheetAdoption`, `createLocalTypedSheetsRuntime`), so runtime * behavior is byte-identical — only the construction site moved. * * Direction: `composition` imports the engine (application/sync, * application/orm) and the concrete adapters. NOTHING in application imports * composition; the public API layer (`src/api/Hikoutei.ts`) loads this * composition root through `packages/library/core/composition/src/index.ts`, which registers the * engine ports lazily so importing the root package alone still never loads * MikroORM or the Google SDK module graph. */ import type { SyncEngineCompositionPorts } from "../sync-engine/sync/service/compositionPorts.js"; /** * Resolves the lazy concrete composition for the engine ports registry. * Constructing the ports is synchronous; the adapter module graphs load the * first time `packages/library/core/composition/src/index.ts` dynamically imports this module. */ export declare function syncEngineCompositionPorts(): Promise; //# sourceMappingURL=syncEngine.d.ts.map