UNPKG

trender-client

Version:
10 lines (9 loc) 532 B
import RequestEmitter, { requestParams } from '../utils/RequestEmitter'; import type { GlobalInterface, NotificationInterface } from './Interfaces'; declare class NotificationManager extends RequestEmitter { constructor(params: requestParams); fetch(params?: GlobalInterface.paginationParams): Promise<NotificationInterface.notificationFetchResponse>; read(): Promise<GlobalInterface.successResponse>; readOne(notification_id: string): Promise<GlobalInterface.successResponse>; } export default NotificationManager;