import type { Pool } from 'pg'; import type { EntityServices } from '../services/ports/services.js'; /** * The real `EntityServices` (ยง 4.5, point 2): core's own category services, so * that an imported category goes through the same checks, hooks and triggers as * one made in the admin. Each call is one transaction that the service owns; an * error it throws (a validation message, or a PostgreSQL error with its * SQLSTATE in `code`) is a failed row, and the writer classifies it. * * The services take the registry and the hooks as the process has them. The * worker boots every module first (`headlessBoot`), so the processors that * extensions and core modules register are there. */ export declare function createCoreEntityServices(pool: Pool): EntityServices;