/** * UserIdentity DTO — pure Zod schema and inferred type. * Shared contract for the database/interface layer. * * A user is represented by their `users` identity row + `user_contexts`; there * is no separate "profile" entity. `identity` carries the thin name/bio/location * fields sourced from `users`, and `context` carries the synthesized identity * paragraph (the global `user_context` text). */ import { z } from "zod"; export declare const UserIdentitySchema: z.ZodObject<{ userId: z.ZodOptional; identity: z.ZodObject<{ name: z.ZodString; bio: z.ZodString; location: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; bio: string; location: string; }, { name: string; bio: string; location: string; }>; context: z.ZodString; }, "strip", z.ZodTypeAny, { identity: { name: string; bio: string; location: string; }; context: string; userId?: string | undefined; }, { identity: { name: string; bio: string; location: string; }; context: string; userId?: string | undefined; }>; export type UserIdentity = z.infer;