import { DataApi, QueryRequest, QueryResponse, UpdateResponse } from '@dvn/core/api';
import { GetItemRequest, GetItemResponse } from '@dvn/core/api/dto/get-item';
import { GetListResponse } from '@dvn/core/api/dto/list';
import { UpdateRequest } from '@dvn/core/api/dto/update';
import { Agreement } from '@dvn/core/models/agreement';
import { AgreementConsent } from '@dvn/core/models/agreement-consent';
import { AppConfig } from '@dvn/core/models/app-config';
import { DataModel } from '@dvn/core/models/data-model';
import { Membership } from '@dvn/core/models/membership';
import { MembershipConfig } from '@dvn/core/models/membership-config';
import { UyeApi } from '@dvn/uye/api';
import { AtamaApi } from '../../../atama/src/api/atamaApi';
interface Context {
  organisationDomain: string;
  organisationId: string;
  userId: string;
}
export declare const commonUserInfoFields: any[];
export declare const groupInfoFields: any[];
export declare function convertMentornityFieldToDevingenField(field: any): any;
export declare class MentornityBridgeApi implements DataApi, AtamaApi, UyeApi {
  organisationConfig: any;
  goalConfig: any;
  private client;
  private context;
  constructor(endpoint: string, context: Context, headers?: any);
  addAuthInterceptor(_token: string): void;
  get(collection: string, id: string, _query: GetItemRequest): Promise<GetItemResponse>;
  query(collection: string, query: QueryRequest): Promise<QueryResponse>;
  update(_collection: string, _id: string, _body: UpdateRequest): Promise<UpdateResponse>;
  getPairsOfUser(_base: string, _collection: string, userRefFieldId: string, _userRefFieldValue: string): Promise<GetListResponse<DataModel>>;
  getSelectionList(_base: string, _collection: string, _pairConfigId: string, _userRefFieldId: string, _memberToViewRefFieldId: string): Promise<GetListResponse<DataModel>>;
  getSentRequests(_base: string, _collection: string, _userRefFieldValue: string): Promise<GetListResponse<DataModel>>;
  getReceivedRequests(_base: string, _collection: string): Promise<GetListResponse<DataModel>>;
  sendPairRequest(_base: string, _collection: string, _userRefFieldId: string, userRefFieldValue: string, _memberToViewRefFieldId: string, memberToViewData: DataModel): Promise<any>;
  acceptPairRequest(_base: string, _collection: string, requestId: string): Promise<any>;
  rejectPairRequest(_base: string, _collection: string, requestId: string): Promise<any>;
  getMeetingsOfUser(_base: string, _collection: string, _structureId: string, _userRefFieldValue: string): Promise<GetListResponse<DataModel>>;
  endPair(_base: string, _collection: string, pairId: string): Promise<any>;
  getAppConfigOfMembership(_id: string): Promise<AppConfig>;
  consentAgreement(_id: string): Promise<AgreementConsent>;
  getAgreement(_id: string): Promise<Agreement>;
  activateMembership(_membershipConfigId: string, _membershipId: string): Promise<Membership>;
  getMembership(_membershipConfigId: string, _membershipId: string): Promise<Membership>;
  getMembershipsOfUser(_userId: string): Promise<GetListResponse<Membership>>;
  getMembershipConfigWithName(name: string): Promise<MembershipConfig>;
  updateMembership(_membershipConfigId: string, _membershipId: string, _data: Partial<Membership>): Promise<UpdateResponse>;
}
export {};
