import { z } from "zod"; import type { McpTool } from "../tool.js"; import type { Person } from "@onenomad/przm-cortex-core"; declare const inputSchema: z.ZodObject<{ /** * Kebab-case identifier for the user — used as the people.yaml key * and stamped on every "owner" field across the workspace's data. * Stable: don't change it casually. */ slug: z.ZodString; name: z.ZodString; email: z.ZodString; /** Free-form role label — "Engineering Lead", "PM", "Designer". */ role: z.ZodOptional; /** Free-form team label — "Platform", "Delivery". */ team: z.ZodOptional; /** IANA zone, e.g. "America/New_York". Drives due-date resolution. */ timezone: z.ZodOptional; /** Working hours hint — "9am-5pm EST" / "async". */ workHours: z.ZodOptional; /** Project slugs the user is responsible for. */ projects: z.ZodOptional>; /** Alternate names / handles for attendee-list matching. */ aliases: z.ZodOptional>; }, "strip", z.ZodTypeAny, { slug: string; name: string; email: string; team?: string | undefined; projects?: string[] | undefined; role?: string | undefined; aliases?: string[] | undefined; timezone?: string | undefined; workHours?: string | undefined; }, { slug: string; name: string; email: string; team?: string | undefined; projects?: string[] | undefined; role?: string | undefined; aliases?: string[] | undefined; timezone?: string | undefined; workHours?: string | undefined; }>; interface Output { identity: Person; created: boolean; } /** * Upsert the workspace's `self` person. Clears `self: true` from any * other person so the invariant "exactly one self" holds. The slug * is stable across calls — re-running with the same slug patches in * new fields; running with a different slug transfers the `self` * flag. * * Workspace-scoped. Invalidates the in-memory taxonomy cache so the * next retrieval call sees the new identity without a server bounce. */ export declare const updateUserIdentityTool: McpTool; export {}; //# sourceMappingURL=update-user-identity.d.ts.map