import type { Discussion } from '../types/comment'; import type { TrendingTag } from '../types/trending'; import type { ThreeSpeakVideo, ActiveVote } from '../types/video'; declare const server: { domain: string; kThreeSpeakApiUrl: string; userOwnerThumb: (username: string) => string; graphQLServerUrl: string; }; declare class ApiService { handleUpvote({ author, permlink, weight, authToken, }: { author: string; permlink: string; weight: number; authToken: string; }): Promise>; handleComment({ author, permlink, body, authToken, }: { author: string; permlink: string; body: string; authToken: string; }): Promise>; getUserVideos(username: string, skip?: number): Promise; getHomeVideos(skip?: number): Promise; getTrendingVideos(skip?: number): Promise; getNewVideos(skip?: number): Promise; getFirstUploadsVideos(skip?: number): Promise; getVideoDetails(username: string, permlink: string): Promise; getCommunityVideos(community: string, skip?: number): Promise; getRelatedVideos(username: string, skip?: number): Promise; getTrendingTags(): Promise; getTaggedVideos(tag: string, skip?: number): Promise; getSearchFeed(term: string, skip?: number, lang?: string): Promise; getContentStats(author: string, permlink: string): Promise<{ numOfUpvotes: any; numOfComments: any; hiveValue: number; }>; getActiveVotes(author: string, permlink: string): Promise; getCommentsList(author: string, permlink: string): Promise; getMyVideos(authToken: string): Promise; } export declare const apiService: ApiService; export { server };