import type { UpdateLegalEntity } from '../../../api/legalEntity/useUpdateLegalEntity';
import type { ExistingLegalEntity } from '../../../core/models/api/legal-entity';
import type { LegalEntityAssociation } from '../../../core/models/api/legal-entity-association';
import type { UnincorporatedPartnershipMember } from '../tasks/UnincorporatedPartnershipMembers/types';
/**
 * In the API response, there are multiple {@link LegalEntityAssociation}s for the same associated entity;
 * one for each role e.g. 'secondaryPartner', 'uboThroughControl', 'uboThroughOwnersghip'...
 *
 * Therefore we need to combine these into one {@link UnincorporatedPartnershipMember} with multiple roles.
 */
export declare const mapEntityAssociationsToUnincorporatedPartnershipMembers: (entityId: string, entityAssociations: LegalEntityAssociation[], rootLegalEntity?: ExistingLegalEntity) => UnincorporatedPartnershipMember[];
export declare const deleteUnincorporatedPartnershipMember: ({ associatedMember, unincorporatedPartnership, updateLegalEntity, }: {
    associatedMember: UnincorporatedPartnershipMember;
    unincorporatedPartnership: ExistingLegalEntity;
    updateLegalEntity: UpdateLegalEntity;
}) => Promise<void>;
