import type { z } from 'zod'; import type { EntitySchemaMeta } from '#src/references/definition-ref-registry.js'; type PlainObject = Record; /** * Returns the first EntitySchemaMeta found on the given schema or any inner * schema reachable through wrappers (optional/nullable/default). */ export declare function getEntityMeta(schema: z.ZodType): EntitySchemaMeta | undefined; /** * Resolves the name of an entity from its serialized (name-based) data using * the entity schema's name resolver. * * Since the data is already serialized, reference IDs are already names — * no cross-entity resolution or toposort is needed. */ export declare function getEntityName(entityMeta: EntitySchemaMeta, item: PlainObject): string; export {}; //# sourceMappingURL=entity-utils.d.ts.map