UNPKG

trender-client

Version:
14 lines (13 loc) 767 B
import RequestEmitter, { requestParams } from '../utils/RequestEmitter'; import type { followInformations, followListInformations } from './Interfaces/Follow'; import type { paginationParams } from './Interfaces/Global'; declare class FollowManager extends RequestEmitter { constructor(params: requestParams); delete(target_id: string): Promise<followInformations>; create(target_id: string): Promise<followInformations>; accept(follow_id: string): Promise<followInformations>; unacceptedList(): Promise<followListInformations>; follows(nickname: string, options?: paginationParams): Promise<followListInformations>; followers(nickname: string, options?: paginationParams): Promise<followListInformations>; } export default FollowManager;