import type Pusher from 'pusher-js/with-encryption'; import type { Options } from 'pusher-js/with-encryption'; import { ID } from './commonStateTypes/common'; export interface PusherAuthPayload { auth: ID; shared_secret: ID; } declare let pusher: Pusher | undefined; /** * Call initializePusher before using pusher in web-app */ export declare function initializePusher(pusherClientSecret: ID, options: Options, headers: { sessionId: ID; tenantId: ID; userId: ID; }, reInitialize?: boolean): Promise; export declare function disconnectPusher(): void; export { pusher };