export type Criteria = { [name: string]: string; }; export type AtomicSubscriber = { criteria: Criteria; callback: Function; }; type Message = { [name: string]: string; }; export type Filter = { matcher: string; criteria: Criteria; }; export type MessagePayload = { filter: Filter; message: Message; }; export type UserPresenceObj = { state?: string; subscribers: { [subId: string]: { callback: Function; contextName: string; }; }; }; export interface ConnectionConfig { messagingService?: string; disableReInit?: boolean; [key: string]: string | boolean | undefined; } export interface MessageData { msgId?: string; message?: { [key: string]: unknown; datapage?: string; parameters?: string; }; filter?: { matcher: string; criteria: Record; }; tokenExpiryTime?: number; } export interface DataPageMessage { msgId?: string; message: { datapage: string; parameters: string; }; } export interface TokenData { tokenExpiryTime: number; } export interface CollabObj { appEnabled: boolean; portalEnabled: boolean; } export interface LocalMessagePayload { matcher: string; criteria: Record; message?: Record; } export {};