import type { z } from 'zod'; import type { EntityTypeMap } from './types.js'; /** * Collects entity metadata from a Zod schema by walking its structure. * * Walks the schema once, detecting entity arrays (via `definitionRefRegistry` * annotations) and building metadata for each entity type including its * relative path from the parent entity (or root) and parent entity type linkage. * * Parent relationships are determined by `entityType.parentType` on the * `DefinitionEntityType` instance — when a parent type is set, the walker * finds the matching ancestor entity in its stack and computes the relative * path from there. * * Call once per schema and reuse the result. */ export declare function collectEntityMetadata(schema: z.ZodType): EntityTypeMap; //# sourceMappingURL=entity-type-map.d.ts.map