import { GetListResponse } from '@dvn/core/api/dto/list';
import { DataModel } from '@dvn/core/models/data-model';
export interface AtamaApi {
  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<GetListResponse<DataModel>>;
  acceptPairRequest: (base: string, collection: string, requestId: string) => Promise<DataModel>;
  rejectPairRequest: (base: string, collection: string, requestId: string) => Promise<DataModel>;
  getMeetingsOfUser: (base: string, collection: string, structureId: string, userRefFieldValue: string) => Promise<GetListResponse<DataModel>>;
  endPair: (base: string, collection: string, pairId: string) => Promise<any>;
}
export declare class AtamaApiImpl implements AtamaApi {
  private api;
  constructor(endpoint: string, defaultHeaders?: object);
  addAuthInterceptor: (token: string) => void;
  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>>;
  getMeetingsOfUser: (base: string, collection: string, structureId: string, userRefFieldValue: string) => Promise<GetListResponse<DataModel>>;
  endPair: (base: string, collection: string, pairId: string) => Promise<any>;
  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>;
}
