import * as signalR from "@microsoft/signalr"; import { NotificationModel } from "../models"; interface RegisterProps { globalHubConnection: React.MutableRefObject; email: string; serviceUrl: string; onReceivedMessage?: (notification: NotificationModel) => void; onReceivedOnlineUsers?: (users: any[]) => void; onReceiveNewConnectivityState?: (emails: string[]) => void; /** SignalR will connect to this method. * * Default: 'ReceiveNewNotification' */ methodName?: string; /** Default: 3000000 ms.*/ keepAliveIntervalInMilliseconds?: number; /** Default: 3000000 ms.*/ serverTimeoutInMilliseconds?: number; skipNegotiation?: boolean; } export declare class NotificationService { static Register: (props: RegisterProps) => Promise; } export {};