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 { BaseField } from '@dvn/core/doldurma/src/BaseField';
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 { Availability, CalendarConfig, Event, Unavailability } from '@dvn/takvim/api/models';
import { TakvimApi } from '@dvn/takvim/api/takvimApi';
import { UyeApi } from '@dvn/uye/api';
import { AtamaApi } from '../../../atama/src/api/atamaApi';
import { CreateItemResponse } from '../../../mentornity-js-client/api';
import { Config } from '../../../mentornity-js-client/models';
interface Context {
  organisationDomain: string;
  organisationId: string;
  userId: string;
  role: string;
  groupId?: string;
}
export declare const embeddedTranslations: {
  en: {
    title: string;
    bio: string;
    skills: string;
    search: string;
    goToProfilePage: string;
    info: string;
    getMeeting: string;
    viewDetails: string;
    meetings: string;
    follow: string;
    unfollow: string;
    sendMessage: string;
  };
  'pt-br': {
    title: string;
    bio: string;
    skills: string;
    search: string;
    goToProfilePage: string;
    info: string;
    getMeeting: string;
    viewDetails: string;
    meetings: string;
    follow: string;
    unfollow: string;
    sendMessage: string;
  };
  tr: {
    title: string;
    bio: string;
    skills: string;
    search: string;
    goToProfilePage: string;
    info: string;
    getMeeting: string;
    viewDetails: string;
    meetings: string;
    follow: string;
    unfollow: string;
    sendMessage: string;
  };
};
export declare function getEmbeddedTranslation(language: string, key: string): any;
export declare const legacyProfileFields: (language?: string) => BaseField[];
export declare const commonUserInfoFields: BaseField[];
export declare const groupInfoFields: BaseField[];
export declare function convertMentornityFieldToDevingenField(field: any): BaseField;
export declare function generateCalendarConfig(config: Config): CalendarConfig;
export declare class MentornityBridgeApi implements DataApi, AtamaApi, UyeApi, TakvimApi {
  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>;
  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>>;
  getMembershipConfig(id: string): Promise<MembershipConfig>;
  getMembershipConfigWithName(name: string): Promise<MembershipConfig>;
  updateMembership(_membershipConfigId: string, _membershipId: string, _data: Partial<Membership>): Promise<UpdateResponse>;
  getAvailabilities(_availabilityConfigId: string): Promise<GetListResponse<Availability>>;
  getAvailabilitiesOfUser(_calendarConfigId: string, userId: string): Promise<GetListResponse<Availability>>;
  getCalendarConfig(_id: string): Promise<CalendarConfig>;
  getMeetingsOfUser(calendarConfigId: string, guestIDs: string[]): Promise<GetListResponse<Event>>;
  getUnavailabilitiesOfUser(_calendarConfigId: string, userId: string, _startTime: string, _endTime: string): Promise<GetListResponse<Unavailability>>;
  createMeeting(meeting: Partial<Event>): Promise<CreateItemResponse>;
}
export {};
