import { Repository } from 'typeorm'; import { IUser, IUserOrganization } from '@metad/contracts'; import { TenantAwareCrudService } from './../core/crud'; import { Organization, UserOrganization } from './../core/entities/internal'; export declare class UserOrganizationService extends TenantAwareCrudService { private readonly userOrganizationRepository; private readonly organizationRepository; constructor(userOrganizationRepository: Repository, organizationRepository: Repository); addUserToOrganization(user: IUser, organizationId: string): Promise; private _addUserToAllOrganizations; }