trender-client
Version:
Official Trender client API
10 lines (9 loc) • 462 B
TypeScript
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;