UNPKG

trender-client

Version:
10 lines (9 loc) 462 B
import RequestEmitter, { requestParams } from '../utils/RequestEmitter'; import type { BlockInterface, GlobalInterface } from './Interfaces'; declare class BlockManager extends RequestEmitter { constructor(params: requestParams); create(target_id: string): Promise<GlobalInterface.emptyResponse>; delete(target_id: string): Promise<GlobalInterface.emptyResponse>; fetch(): Promise<BlockInterface.blockUserReponse>; } export default BlockManager;