export type CreatePersonRequest = { tenantId: string; firstName: string; lastName: string; code?: string; roles: string[]; addresses?: Array<{ addressType: string; line1: string; line2?: string; city?: string; country?: string; isPrimary?: boolean; }>; contacts?: Array<{ contactType: string; contactValue: string; isPrimary?: boolean; }>; customerCode?: string; supplierCode?: string; employeeCode?: string; }; export type CreateOrganizationRequest = { tenantId: string; name: string; code?: string; roles: string[]; addresses?: Array<{ addressType: string; line1: string; line2?: string; city?: string; country?: string; isPrimary?: boolean; }>; contacts?: Array<{ contactType: string; contactValue: string; isPrimary?: boolean; }>; customerCode?: string; supplierCode?: string; }; export type Database = any; export declare class PartyService { private db; constructor(db: Database); private generateCode; private createPartyRoles; private createRoleSpecificRecords; private addAddresses; private addContacts; createPerson(data: CreatePersonRequest): Promise; createOrganization(data: CreateOrganizationRequest): Promise; getPartyWithDetails(partyId: string, tenantId: string): Promise; updateParty(partyId: string, tenantId: string, updates: Partial): Promise; deleteParty(partyId: string, tenantId: string): Promise; listPartiesByType(tenantId: string, partyType?: string, roleType?: string): Promise; } //# sourceMappingURL=PartyService.d.ts.map