UNPKG

web3-mq-react

Version:
12 lines (11 loc) 518 B
/// <reference types="react" /> import type { Client, EventTypes, NotifyResponse } from 'web3-mq'; export declare const usePaginatedNotifications: (client: Client) => { notifications: NotifyResponse[] | null; unReadCount: number | undefined; handleEvent: (props: { type: EventTypes; }) => void; handleFirendRequest: (targetIUserid: string, action: any) => Promise<void>; setNotifications: import("react").Dispatch<import("react").SetStateAction<NotifyResponse[] | null>>; };