import { HttpClient } from '@angular/common/http'; import { B2BUser, ConverterService, EntitiesModel, OccEndpointsService, SearchConfig } from '@spartacus/core'; import { B2BUserAdapter, UserGroup } from '@spartacus/organization/administration/core'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class OccB2BUserAdapter implements B2BUserAdapter { protected http: HttpClient; protected occEndpoints: OccEndpointsService; protected converter: ConverterService; constructor(http: HttpClient, occEndpoints: OccEndpointsService, converter: ConverterService); load(userId: string, orgUnitCustomerId: string): Observable; loadList(userId: string, params?: SearchConfig): Observable>; create(userId: string, orgCustomer: B2BUser): Observable; update(userId: string, orgCustomerId: string, orgCustomer: B2BUser): Observable; loadApprovers(userId: string, orgCustomerId: string, params?: SearchConfig): Observable>; assignApprover(userId: string, orgCustomerId: string, approverId: string): Observable; unassignApprover(userId: string, orgCustomerId: string, approverId: string): Observable; loadPermissions(userId: string, orgCustomerId: string, params?: SearchConfig): Observable>; assignPermission(userId: string, orgCustomerId: string, permissionId: string): Observable; unassignPermission(userId: string, orgCustomerId: string, permissionId: string): Observable; loadUserGroups(userId: string, orgCustomerId: string, params?: SearchConfig): Observable>; assignUserGroup(userId: string, orgCustomerId: string, userGroupId: string): Observable; unassignUserGroup(userId: string, orgCustomerId: string, userGroupId: string): Observable; protected getB2BUserEndpoint(userId: string, orgCustomerId: string): string; protected getB2BUsersEndpoint(userId: string, params?: SearchConfig): string; protected getApproverEndpoint(userId: string, orgCustomerId: string, approverId: string): string; protected getApproversEndpoint(userId: string, orgCustomerId: string, params?: SearchConfig | { orgCustomerId: string; }): string; protected getPermissionEndpoint(userId: string, orgCustomerId: string, premissionId: string): string; protected getPermissionsEndpoint(userId: string, orgCustomerId: string, params?: SearchConfig): string; protected getUserGroupEndpoint(userId: string, orgCustomerId: string, userGroupId: string): string; protected getUserGroupsEndpoint(userId: string, orgCustomerId: string, params?: SearchConfig): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }