import { B2BUser, EntitiesModel, SearchConfig } from '@spartacus/core'; import { Observable } from 'rxjs'; import { Permission } from '../../model/permission.model'; import { UserGroup } from '../../model/user-group.model'; import { B2BUserAdapter } from './b2b-user.adapter'; import * as i0 from "@angular/core"; export declare class B2BUserConnector { protected adapter: B2BUserAdapter; constructor(adapter: B2BUserAdapter); get(userId: string, orgUnitCustomerId: string): Observable; create(userId: string, orgCustomer: B2BUser): Observable; update(userId: string, orgCustomerId: string, orgCustomer: B2BUser): Observable; getList(userId: string, params?: SearchConfig): Observable>; getApprovers(userId: string, orgUnitCustomerId: string, params?: SearchConfig): Observable>; assignApprover(userId: string, orgCustomerId: string, approverId: string): Observable; unassignApprover(userId: string, orgCustomerId: string, approverId: string): Observable; getPermissions(userId: string, orgUnitCustomerId: string, params?: SearchConfig): Observable>; assignPermission(userId: string, orgCustomerId: string, permissionId: string): Observable; unassignPermission(userId: string, orgCustomerId: string, permissionId: string): Observable; getUserGroups(userId: string, orgUnitCustomerId: string, params?: SearchConfig): Observable>; assignUserGroup(userId: string, orgCustomerId: string, userGroupId: string): Observable; unassignUserGroup(userId: string, orgCustomerId: string, userGroupId: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }