/** * Public engine-neutral entity manager. * * The manager owns request-local lifecycle semantics: a fresh identity map and * original snapshots via its scalar Unit of Work. It exposes the familiar * `fork()` / `create()` / `find()` / `persist()` / `remove()` / `flush()` / * `transactional()` workflow without referencing any ORM, raw SQL executor, or * provider type. Dirty tracking is computed by Hikoutei against snapshots, so * a loaded entity can be mutated and flushed without engine dirty tracking. */ import type { ResolvedHikouteiEntityDescriptor } from "./entity.js"; import type { EntityManager } from "./EntityManager.js"; import type { ScalarEntityPersistenceProvider } from "../../contracts/storage/scalar.js"; /** Internal factory kept out of the root barrel so provider types do not leak. */ export declare function createEntityManager(provider: ScalarEntityPersistenceProvider, descriptors: ReadonlyMap): EntityManager; //# sourceMappingURL=internalEntityManager.d.ts.map