import * as app_chat_client from 'app-chat-client'; import { TypedExportedAppChatClientFunctions } from 'app-chat-client'; declare type TypedInitializeFunction = (rootNodeId: Undefinable, params: { appId: string; apiToken: string; endpoint: string; }) => void; declare global { interface Window { ChatWidget: { initialize: TypedInitializeFunction; } & TypedExportedAppChatClientFunctions; } } declare const ChatWidget: { setUser: app_chat_client.TypedSetUserFunction; joinRoom: app_chat_client.TypedJoinRoomFunction; joinRoomByCustomId: app_chat_client.TypedJoinRoomFunction; sendAnnouncement: app_chat_client.TypedAnnounceFunction; demo: app_chat_client.TypedDemoFunction; sendAdvertisement: app_chat_client.TypedAdvertisementFunction; initialize: TypedInitializeFunction; }; export { ChatWidget };