import { Annotation } from '../../components/comments/types'; import { ComponentLimits } from '../limits/types'; import { AnnotationParams, CommentParams, CreateParticipantParams, FetchAnnotationsParams, MentionParams } from './types'; export default class ApiService { static createUrl(baseUrl: string, path: string, query?: {}): string; static validateApiKey(baseUrl: string, apiKey: string): Promise; static fetchConfig(baseUrl: string, apiKey: string): Promise; static fetchLimits(baseUrl: string, apikey: string): Promise; static fetchWaterMark(baseUrl: string, apiKey: string): Promise; static createAnnotations(baseUrl: string, apiKey: string, annotations: AnnotationParams): Promise; static updateComment(baseUrl: string, apiKey: string, commentId: string, text: string): Promise; static createComment(baseUrl: string, apiKey: string, comment: CommentParams): Promise; static fetchAnnotation(baseUrl: string, apiKey: string, query: FetchAnnotationsParams): Promise; static resolveAnnotation(baseUrl: string, apiKey: string, annotationId: string): Promise; static deleteComment(baseUrl: string, apiKey: string, commentId: string): Promise; static deleteAnnotation(baseUrl: string, apiKey: string, annotationId: string): Promise; static createParticipant(participant: CreateParticipantParams): Promise; static fetchParticipant(id: string): Promise; static sendActivity(userId: string, groupId: string, groupName: string, product: string): Promise; static fetchParticipantsByGroup(groupId: string): Promise; static createMentions(mentionParams: MentionParams): Promise; }