web3-mq-react
Version:
web3-mq-react-components
12 lines (11 loc) • 518 B
TypeScript
/// <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>>;
};