import type { Module } from "@voyant-travel/core"; import type { ApiModule } from "@voyant-travel/hono/module"; import { CUSTOMER_SIGNAL_CREATED_EVENT, emitCustomerSignalCreated } from "./events.js"; import { type RelationshipsRouteRuntimeOptions } from "./route-runtime.js"; import { relationshipsService } from "./service/index.js"; export { organizationLinkable, personLinkable, relationshipsLinkable } from "./linkables.js"; export type { RelationshipsRoutes } from "./routes/index.js"; export declare const relationshipsModule: Module; export interface RelationshipsApiModuleOptions extends RelationshipsRouteRuntimeOptions { } /** * Configurable factory for the Relationships API module. Use this when the * deployment needs a non-default KMS resolver (e.g. Voyant Cloud Vault) so * admin PII routes can decrypt person documents on demand. */ export declare function createRelationshipsApiModule(options?: RelationshipsApiModuleOptions): ApiModule; /** Package-owned adapter from the graph port registry to the Relationships route factory. */ export declare const createRelationshipsVoyantRuntime: import("@voyant-travel/core/project").VoyantGraphRuntimeFactory; export type { CustomerSignalCreatedEvent, CustomerSignalCreatedIntake, OrganizationChangedEvent, PersonChangedEvent, RelationshipChangeAction, } from "./events.js"; export { emitOrganizationChanged, emitPersonChanged, ORGANIZATION_CHANGED_EVENT, PERSON_CHANGED_EVENT, } from "./events.js"; export type { RelationshipsRouteRuntime, RelationshipsRouteRuntimeOptions, ResolveRelationshipsKmsProvider, } from "./route-runtime.js"; export { buildRelationshipsRouteRuntime, RELATIONSHIPS_ROUTE_RUNTIME_CONTAINER_KEY, } from "./route-runtime.js"; export { relationshipsRouteRuntimePort } from "./runtime-port.js"; export type { Activity, ActivityLink, ActivityParticipant, CommunicationLogEntry, CustomerSignal, NewActivity, NewActivityLink, NewActivityParticipant, NewCommunicationLogEntry, NewCustomerSignal, NewOrganization, NewOrganizationNote, NewPerson, NewPersonDocument, NewPersonNote, NewPersonPaymentMethod, NewPersonRelationship, NewSegment, NewSegmentMember, Organization, OrganizationNote, Person, PersonDocument, PersonNote, PersonPaymentMethod, PersonRelationship, Segment, SegmentMember, } from "./schema.js"; export { activities, activityLinks, activityParticipants, communicationLog, customerSignalKindEnum, customerSignalSourceEnum, customerSignalStatusEnum, customerSignals, organizationNotes, organizations, people, personDirectoryView, personDocuments, personDocumentTypeEnum, personNotes, personPaymentMethods, personRelationshipKindEnum, personRelationships, segmentMembers, segments, } from "./schema.js"; export type { CreateCustomerSignalInput, CustomerSignalListQuery, UpdateCustomerSignalInput, } from "./service/customer-signals.js"; export { customerSignalsService } from "./service/customer-signals.js"; export type { CreatePersonDocumentInput, PersonDocumentListQuery, PersonDocumentType, PersonTravelSnapshot, UpdatePersonDocumentInput, } from "./service/person-documents.js"; export { personDocumentNumberPlaintextSchema, personDocumentsService, personPiiBlobPlaintextSchema, } from "./service/person-documents.js"; export type { CreatePersonRelationshipInput, PersonRelationshipKind, PersonRelationshipListQuery, UpdatePersonRelationshipInput, } from "./service/person-relationships.js"; export { personRelationshipsService } from "./service/person-relationships.js"; export { activityListQuerySchema, communicationChannelSchema, communicationDirectionSchema, communicationListQuerySchema, customerSignalKindSchema, customerSignalListQuerySchema, customerSignalPrioritySchema, customerSignalSourceSchema, customerSignalStatusSchema, insertActivityLinkSchema, insertActivityParticipantSchema, insertActivitySchema, insertCommunicationLogSchema, insertCustomerSignalSchema, insertOrganizationNoteSchema, insertOrganizationSchema, insertPersonDocumentFromPlaintextSchema, insertPersonDocumentSchema, insertPersonNoteSchema, insertPersonPaymentMethodSchema, insertPersonRelationshipSchema, insertPersonSchema, insertSegmentSchema, mergeOrganizationSchema, mergePersonSchema, organizationListQuerySchema, personDocumentListQuerySchema, personDocumentTypeSchema, personListQuerySchema, personRelationshipKindSchema, personRelationshipListQuerySchema, relationTypeSchema, resolveCustomerSignalSchema, updateActivitySchema, updateCustomerSignalSchema, updateOrganizationNoteSchema, updateOrganizationSchema, updatePersonDocumentFromPlaintextSchema, updatePersonDocumentSchema, updatePersonNoteSchema, updatePersonPaymentMethodSchema, updatePersonProfilePiiSchema, updatePersonRelationshipSchema, updatePersonSchema, } from "./validation.js"; export { CUSTOMER_SIGNAL_CREATED_EVENT, emitCustomerSignalCreated, relationshipsService };