/** Module-owned identity Tools for reusable contact, address, and named-contact data. */ import { addressListQuerySchema, contactPointListQuerySchema, namedContactListQuerySchema } from "@voyant-travel/identity-contracts"; import { type HandlerActionPolicyExpectation, type ToolContext, type ToolHandlerActionPolicyContext } from "@voyant-travel/tools"; import { z } from "zod"; declare const updateContactPointToolSchema: z.ZodObject<{ entityType: z.ZodOptional; entityId: z.ZodOptional; kind: z.ZodOptional>; label: z.ZodOptional>>; value: z.ZodOptional; normalizedValue: z.ZodOptional>>; isPrimary: z.ZodOptional>; notes: z.ZodOptional>>; metadata: z.ZodOptional>>>; id: z.ZodString; }, z.core.$strip>; declare const updateAddressToolSchema: z.ZodObject<{ entityType: z.ZodOptional; entityId: z.ZodOptional; label: z.ZodOptional>>; fullText: z.ZodOptional>>; line1: z.ZodOptional>>; line2: z.ZodOptional>>; city: z.ZodOptional>>; region: z.ZodOptional>>; postalCode: z.ZodOptional>>; country: z.ZodOptional>>; latitude: z.ZodOptional>>; longitude: z.ZodOptional>>; timezone: z.ZodOptional>>; isPrimary: z.ZodOptional>; notes: z.ZodOptional>>; metadata: z.ZodOptional>>>; id: z.ZodString; }, z.core.$strip>; declare const updateNamedContactToolSchema: z.ZodObject<{ entityType: z.ZodOptional; entityId: z.ZodOptional; role: z.ZodOptional>>; name: z.ZodOptional; title: z.ZodOptional>>; email: z.ZodOptional>>; phone: z.ZodOptional>>; isPrimary: z.ZodOptional>; notes: z.ZodOptional>>; metadata: z.ZodOptional>>>; id: z.ZodString; }, z.core.$strip>; export declare const createIdentityContactPointInputSchema: z.ZodObject<{ entityType: z.ZodString; entityId: z.ZodString; kind: z.ZodEnum<{ email: "email"; phone: "phone"; mobile: "mobile"; whatsapp: "whatsapp"; website: "website"; sms: "sms"; fax: "fax"; social: "social"; other: "other"; }>; label: z.ZodOptional>; value: z.ZodString; normalizedValue: z.ZodOptional>; isPrimary: z.ZodDefault; notes: z.ZodOptional>; metadata: z.ZodOptional>>; idempotencyKey: z.ZodOptional; }, z.core.$strip>; export declare const createIdentityAddressInputSchema: z.ZodObject<{ entityType: z.ZodString; entityId: z.ZodString; label: z.ZodDefault>; fullText: z.ZodOptional>; line1: z.ZodOptional>; line2: z.ZodOptional>; city: z.ZodOptional>; region: z.ZodOptional>; postalCode: z.ZodOptional>; country: z.ZodOptional>; latitude: z.ZodOptional>; longitude: z.ZodOptional>; timezone: z.ZodOptional>; isPrimary: z.ZodDefault; notes: z.ZodOptional>; metadata: z.ZodOptional>>; idempotencyKey: z.ZodOptional; }, z.core.$strip>; export declare const createIdentityNamedContactInputSchema: z.ZodObject<{ entityType: z.ZodString; entityId: z.ZodString; role: z.ZodDefault>; name: z.ZodString; title: z.ZodOptional>; email: z.ZodOptional>; phone: z.ZodOptional>; isPrimary: z.ZodDefault; notes: z.ZodOptional>; metadata: z.ZodOptional>>; idempotencyKey: z.ZodOptional; }, z.core.$strip>; type ContactPointListQuery = z.infer; type AddressListQuery = z.infer; type NamedContactListQuery = z.infer; type CreateContactPointInput = z.infer; type CreateAddressInput = z.infer; type CreateNamedContactInput = z.infer; type UpdateContactPointInput = z.infer; type UpdateAddressInput = z.infer; type UpdateNamedContactInput = z.infer; export interface IdentityToolServices { listContactPoints(query: ContactPointListQuery): Promise; getContactPointById(id: string): Promise; createContactPoint(input: CreateContactPointInput, admitted: ToolHandlerActionPolicyContext): Promise; updateContactPoint(input: UpdateContactPointInput): Promise; listAddresses(query: AddressListQuery): Promise; getAddressById(id: string): Promise; createAddress(input: CreateAddressInput, admitted: ToolHandlerActionPolicyContext): Promise; updateAddress(input: UpdateAddressInput): Promise; listNamedContacts(query: NamedContactListQuery): Promise; getNamedContactById(id: string): Promise; createNamedContact(input: CreateNamedContactInput, admitted: ToolHandlerActionPolicyContext): Promise; updateNamedContact(input: UpdateNamedContactInput): Promise; } export type IdentityToolContext = ToolContext & { identity?: IdentityToolServices; }; export declare const CREATE_IDENTITY_CONTACT_POINT_HANDLER_POLICY: HandlerActionPolicyExpectation; export declare const CREATE_IDENTITY_ADDRESS_HANDLER_POLICY: HandlerActionPolicyExpectation; export declare const CREATE_IDENTITY_NAMED_CONTACT_HANDLER_POLICY: HandlerActionPolicyExpectation; export declare const listIdentityContactPointsTool: import("@voyant-travel/tools").ToolDefinition<{ limit: number; offset: number; entityType?: string | undefined; entityId?: string | undefined; kind?: "email" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social" | "other" | undefined; isPrimary?: boolean | undefined; search?: string | undefined; }, { data: { id: string; entityType: string; entityId: string; kind: "email" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social" | "other"; value: string; isPrimary: boolean; createdAt: string; updatedAt: string; label?: string | null | undefined; normalizedValue?: string | null | undefined; notes?: string | null | undefined; metadata?: Record | null | undefined; }[]; total: number; limit: number; offset: number; }, IdentityToolContext>; export declare const getIdentityContactPointTool: import("@voyant-travel/tools").ToolDefinition<{ id: string; }, { id: string; entityType: string; entityId: string; kind: "email" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social" | "other"; value: string; isPrimary: boolean; createdAt: string; updatedAt: string; label?: string | null | undefined; normalizedValue?: string | null | undefined; notes?: string | null | undefined; metadata?: Record | null | undefined; } | null, IdentityToolContext>; export declare const createIdentityContactPointTool: import("@voyant-travel/tools").ToolDefinition<{ entityType: string; entityId: string; kind: "email" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social" | "other"; value: string; isPrimary: boolean; label?: string | null | undefined; normalizedValue?: string | null | undefined; notes?: string | null | undefined; metadata?: Record | null | undefined; idempotencyKey?: string | undefined; }, { id: string; replayed: boolean; }, IdentityToolContext>; export declare const updateIdentityContactPointTool: import("@voyant-travel/tools").ToolDefinition<{ id: string; entityType?: string | undefined; entityId?: string | undefined; kind?: "email" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social" | "other" | undefined; label?: string | null | undefined; value?: string | undefined; normalizedValue?: string | null | undefined; isPrimary?: boolean | undefined; notes?: string | null | undefined; metadata?: Record | null | undefined; }, { id: string; entityType: string; entityId: string; kind: "email" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social" | "other"; value: string; isPrimary: boolean; createdAt: string; updatedAt: string; label?: string | null | undefined; normalizedValue?: string | null | undefined; notes?: string | null | undefined; metadata?: Record | null | undefined; } | null, IdentityToolContext>; export declare const listIdentityAddressesTool: import("@voyant-travel/tools").ToolDefinition<{ limit: number; offset: number; entityType?: string | undefined; entityId?: string | undefined; label?: "other" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "service" | "legal" | undefined; isPrimary?: boolean | undefined; search?: string | undefined; }, { data: { id: string; entityType: string; entityId: string; label: "other" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "service" | "legal"; isPrimary: boolean; createdAt: string; updatedAt: string; notes?: string | null | undefined; metadata?: Record | null | undefined; fullText?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; city?: string | null | undefined; region?: string | null | undefined; postalCode?: string | null | undefined; country?: string | null | undefined; latitude?: number | null | undefined; longitude?: number | null | undefined; timezone?: string | null | undefined; }[]; total: number; limit: number; offset: number; }, IdentityToolContext>; export declare const getIdentityAddressTool: import("@voyant-travel/tools").ToolDefinition<{ id: string; }, { id: string; entityType: string; entityId: string; label: "other" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "service" | "legal"; isPrimary: boolean; createdAt: string; updatedAt: string; notes?: string | null | undefined; metadata?: Record | null | undefined; fullText?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; city?: string | null | undefined; region?: string | null | undefined; postalCode?: string | null | undefined; country?: string | null | undefined; latitude?: number | null | undefined; longitude?: number | null | undefined; timezone?: string | null | undefined; } | null, IdentityToolContext>; export declare const createIdentityAddressTool: import("@voyant-travel/tools").ToolDefinition<{ entityType: string; entityId: string; label: "other" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "service" | "legal"; isPrimary: boolean; fullText?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; city?: string | null | undefined; region?: string | null | undefined; postalCode?: string | null | undefined; country?: string | null | undefined; latitude?: number | null | undefined; longitude?: number | null | undefined; timezone?: string | null | undefined; notes?: string | null | undefined; metadata?: Record | null | undefined; idempotencyKey?: string | undefined; }, { id: string; replayed: boolean; }, IdentityToolContext>; export declare const updateIdentityAddressTool: import("@voyant-travel/tools").ToolDefinition<{ id: string; entityType?: string | undefined; entityId?: string | undefined; label?: "other" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "service" | "legal" | undefined; fullText?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; city?: string | null | undefined; region?: string | null | undefined; postalCode?: string | null | undefined; country?: string | null | undefined; latitude?: number | null | undefined; longitude?: number | null | undefined; timezone?: string | null | undefined; isPrimary?: boolean | undefined; notes?: string | null | undefined; metadata?: Record | null | undefined; }, { id: string; entityType: string; entityId: string; label: "other" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "service" | "legal"; isPrimary: boolean; createdAt: string; updatedAt: string; notes?: string | null | undefined; metadata?: Record | null | undefined; fullText?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; city?: string | null | undefined; region?: string | null | undefined; postalCode?: string | null | undefined; country?: string | null | undefined; latitude?: number | null | undefined; longitude?: number | null | undefined; timezone?: string | null | undefined; } | null, IdentityToolContext>; export declare const listIdentityNamedContactsTool: import("@voyant-travel/tools").ToolDefinition<{ limit: number; offset: number; entityType?: string | undefined; entityId?: string | undefined; role?: "other" | "primary" | "legal" | "general" | "reservations" | "operations" | "front_desk" | "sales" | "emergency" | "accounting" | undefined; isPrimary?: boolean | undefined; search?: string | undefined; }, { data: { id: string; entityType: string; entityId: string; isPrimary: boolean; role: "other" | "primary" | "legal" | "general" | "reservations" | "operations" | "front_desk" | "sales" | "emergency" | "accounting"; name: string; createdAt: string; updatedAt: string; notes?: string | null | undefined; metadata?: Record | null | undefined; title?: string | null | undefined; email?: string | null | undefined; phone?: string | null | undefined; }[]; total: number; limit: number; offset: number; }, IdentityToolContext>; export declare const getIdentityNamedContactTool: import("@voyant-travel/tools").ToolDefinition<{ id: string; }, { id: string; entityType: string; entityId: string; isPrimary: boolean; role: "other" | "primary" | "legal" | "general" | "reservations" | "operations" | "front_desk" | "sales" | "emergency" | "accounting"; name: string; createdAt: string; updatedAt: string; notes?: string | null | undefined; metadata?: Record | null | undefined; title?: string | null | undefined; email?: string | null | undefined; phone?: string | null | undefined; } | null, IdentityToolContext>; export declare const createIdentityNamedContactTool: import("@voyant-travel/tools").ToolDefinition<{ entityType: string; entityId: string; role: "other" | "primary" | "legal" | "general" | "reservations" | "operations" | "front_desk" | "sales" | "emergency" | "accounting"; name: string; isPrimary: boolean; title?: string | null | undefined; email?: string | null | undefined; phone?: string | null | undefined; notes?: string | null | undefined; metadata?: Record | null | undefined; idempotencyKey?: string | undefined; }, { id: string; replayed: boolean; }, IdentityToolContext>; export declare const updateIdentityNamedContactTool: import("@voyant-travel/tools").ToolDefinition<{ id: string; entityType?: string | undefined; entityId?: string | undefined; role?: "other" | "primary" | "legal" | "general" | "reservations" | "operations" | "front_desk" | "sales" | "emergency" | "accounting" | undefined; name?: string | undefined; title?: string | null | undefined; email?: string | null | undefined; phone?: string | null | undefined; isPrimary?: boolean | undefined; notes?: string | null | undefined; metadata?: Record | null | undefined; }, { id: string; entityType: string; entityId: string; isPrimary: boolean; role: "other" | "primary" | "legal" | "general" | "reservations" | "operations" | "front_desk" | "sales" | "emergency" | "accounting"; name: string; createdAt: string; updatedAt: string; notes?: string | null | undefined; metadata?: Record | null | undefined; title?: string | null | undefined; email?: string | null | undefined; phone?: string | null | undefined; } | null, IdentityToolContext>; export declare const identityTools: readonly [import("@voyant-travel/tools").ToolDefinition<{ limit: number; offset: number; entityType?: string | undefined; entityId?: string | undefined; kind?: "email" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social" | "other" | undefined; isPrimary?: boolean | undefined; search?: string | undefined; }, { data: { id: string; entityType: string; entityId: string; kind: "email" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social" | "other"; value: string; isPrimary: boolean; createdAt: string; updatedAt: string; label?: string | null | undefined; normalizedValue?: string | null | undefined; notes?: string | null | undefined; metadata?: Record | null | undefined; }[]; total: number; limit: number; offset: number; }, IdentityToolContext>, import("@voyant-travel/tools").ToolDefinition<{ id: string; }, { id: string; entityType: string; entityId: string; kind: "email" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social" | "other"; value: string; isPrimary: boolean; createdAt: string; updatedAt: string; label?: string | null | undefined; normalizedValue?: string | null | undefined; notes?: string | null | undefined; metadata?: Record | null | undefined; } | null, IdentityToolContext>, import("@voyant-travel/tools").ToolDefinition<{ entityType: string; entityId: string; kind: "email" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social" | "other"; value: string; isPrimary: boolean; label?: string | null | undefined; normalizedValue?: string | null | undefined; notes?: string | null | undefined; metadata?: Record | null | undefined; idempotencyKey?: string | undefined; }, { id: string; replayed: boolean; }, IdentityToolContext>, import("@voyant-travel/tools").ToolDefinition<{ id: string; entityType?: string | undefined; entityId?: string | undefined; kind?: "email" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social" | "other" | undefined; label?: string | null | undefined; value?: string | undefined; normalizedValue?: string | null | undefined; isPrimary?: boolean | undefined; notes?: string | null | undefined; metadata?: Record | null | undefined; }, { id: string; entityType: string; entityId: string; kind: "email" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social" | "other"; value: string; isPrimary: boolean; createdAt: string; updatedAt: string; label?: string | null | undefined; normalizedValue?: string | null | undefined; notes?: string | null | undefined; metadata?: Record | null | undefined; } | null, IdentityToolContext>, import("@voyant-travel/tools").ToolDefinition<{ limit: number; offset: number; entityType?: string | undefined; entityId?: string | undefined; label?: "other" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "service" | "legal" | undefined; isPrimary?: boolean | undefined; search?: string | undefined; }, { data: { id: string; entityType: string; entityId: string; label: "other" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "service" | "legal"; isPrimary: boolean; createdAt: string; updatedAt: string; notes?: string | null | undefined; metadata?: Record | null | undefined; fullText?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; city?: string | null | undefined; region?: string | null | undefined; postalCode?: string | null | undefined; country?: string | null | undefined; latitude?: number | null | undefined; longitude?: number | null | undefined; timezone?: string | null | undefined; }[]; total: number; limit: number; offset: number; }, IdentityToolContext>, import("@voyant-travel/tools").ToolDefinition<{ id: string; }, { id: string; entityType: string; entityId: string; label: "other" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "service" | "legal"; isPrimary: boolean; createdAt: string; updatedAt: string; notes?: string | null | undefined; metadata?: Record | null | undefined; fullText?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; city?: string | null | undefined; region?: string | null | undefined; postalCode?: string | null | undefined; country?: string | null | undefined; latitude?: number | null | undefined; longitude?: number | null | undefined; timezone?: string | null | undefined; } | null, IdentityToolContext>, import("@voyant-travel/tools").ToolDefinition<{ entityType: string; entityId: string; label: "other" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "service" | "legal"; isPrimary: boolean; fullText?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; city?: string | null | undefined; region?: string | null | undefined; postalCode?: string | null | undefined; country?: string | null | undefined; latitude?: number | null | undefined; longitude?: number | null | undefined; timezone?: string | null | undefined; notes?: string | null | undefined; metadata?: Record | null | undefined; idempotencyKey?: string | undefined; }, { id: string; replayed: boolean; }, IdentityToolContext>, import("@voyant-travel/tools").ToolDefinition<{ id: string; entityType?: string | undefined; entityId?: string | undefined; label?: "other" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "service" | "legal" | undefined; fullText?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; city?: string | null | undefined; region?: string | null | undefined; postalCode?: string | null | undefined; country?: string | null | undefined; latitude?: number | null | undefined; longitude?: number | null | undefined; timezone?: string | null | undefined; isPrimary?: boolean | undefined; notes?: string | null | undefined; metadata?: Record | null | undefined; }, { id: string; entityType: string; entityId: string; label: "other" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "service" | "legal"; isPrimary: boolean; createdAt: string; updatedAt: string; notes?: string | null | undefined; metadata?: Record | null | undefined; fullText?: string | null | undefined; line1?: string | null | undefined; line2?: string | null | undefined; city?: string | null | undefined; region?: string | null | undefined; postalCode?: string | null | undefined; country?: string | null | undefined; latitude?: number | null | undefined; longitude?: number | null | undefined; timezone?: string | null | undefined; } | null, IdentityToolContext>, import("@voyant-travel/tools").ToolDefinition<{ limit: number; offset: number; entityType?: string | undefined; entityId?: string | undefined; role?: "other" | "primary" | "legal" | "general" | "reservations" | "operations" | "front_desk" | "sales" | "emergency" | "accounting" | undefined; isPrimary?: boolean | undefined; search?: string | undefined; }, { data: { id: string; entityType: string; entityId: string; isPrimary: boolean; role: "other" | "primary" | "legal" | "general" | "reservations" | "operations" | "front_desk" | "sales" | "emergency" | "accounting"; name: string; createdAt: string; updatedAt: string; notes?: string | null | undefined; metadata?: Record | null | undefined; title?: string | null | undefined; email?: string | null | undefined; phone?: string | null | undefined; }[]; total: number; limit: number; offset: number; }, IdentityToolContext>, import("@voyant-travel/tools").ToolDefinition<{ id: string; }, { id: string; entityType: string; entityId: string; isPrimary: boolean; role: "other" | "primary" | "legal" | "general" | "reservations" | "operations" | "front_desk" | "sales" | "emergency" | "accounting"; name: string; createdAt: string; updatedAt: string; notes?: string | null | undefined; metadata?: Record | null | undefined; title?: string | null | undefined; email?: string | null | undefined; phone?: string | null | undefined; } | null, IdentityToolContext>, import("@voyant-travel/tools").ToolDefinition<{ entityType: string; entityId: string; role: "other" | "primary" | "legal" | "general" | "reservations" | "operations" | "front_desk" | "sales" | "emergency" | "accounting"; name: string; isPrimary: boolean; title?: string | null | undefined; email?: string | null | undefined; phone?: string | null | undefined; notes?: string | null | undefined; metadata?: Record | null | undefined; idempotencyKey?: string | undefined; }, { id: string; replayed: boolean; }, IdentityToolContext>, import("@voyant-travel/tools").ToolDefinition<{ id: string; entityType?: string | undefined; entityId?: string | undefined; role?: "other" | "primary" | "legal" | "general" | "reservations" | "operations" | "front_desk" | "sales" | "emergency" | "accounting" | undefined; name?: string | undefined; title?: string | null | undefined; email?: string | null | undefined; phone?: string | null | undefined; isPrimary?: boolean | undefined; notes?: string | null | undefined; metadata?: Record | null | undefined; }, { id: string; entityType: string; entityId: string; isPrimary: boolean; role: "other" | "primary" | "legal" | "general" | "reservations" | "operations" | "front_desk" | "sales" | "emergency" | "accounting"; name: string; createdAt: string; updatedAt: string; notes?: string | null | undefined; metadata?: Record | null | undefined; title?: string | null | undefined; email?: string | null | undefined; phone?: string | null | undefined; } | null, IdentityToolContext>]; export {};