import type { z } from 'zod'; interface AssignEntityIdsOptions { /** If returns true for an ID, that ID is preserved (not regenerated). */ isExistingId?: (id: string) => boolean; } /** * Recursively assigns IDs to an entity and all nested child entities. * * Walks the schema using `transformDataWithSchema` to detect entity nodes * (via `getEntityMeta`). At each entity boundary, generates a new ID unless * the existing ID is preserved by the `isExistingId` callback. * * Returns a new object with IDs assigned (immutable, structural sharing). */ export declare function assignEntityIds(schema: z.ZodType, data: T, options?: AssignEntityIdsOptions): T; export {}; //# sourceMappingURL=assign-entity-ids.d.ts.map