import { UpdateResponse } from '@dvn/core/api';
import { GetListResponse } from '@dvn/core/api/dto/list';
import { Agreement } from '@dvn/core/models/agreement';
import { AgreementConsent } from '@dvn/core/models/agreement-consent';
import { AppConfig } from '@dvn/core/models/app-config';
import { Membership } from '@dvn/core/models/membership';
import { MembershipConfig } from '@dvn/core/models/membership-config';
import { UyeApi } from '@dvn/uye/api';
export declare class UyeApiMentornity implements UyeApi {
  headers: any;
  endpoint: string;
  constructor(endpoint: string, headers?: any);
  getAppConfigOfMembership(_id: string): Promise<AppConfig>;
  addAuthInterceptor(token: string): void;
  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>;
}
