import ClientBridge from "./ClientBridge"; import FileSharingProtocolType from "../model/FileSharingProtocolType"; import FileStatus from "../model/FileStatus"; import IFileMetadata from "../model/IFileMetadata"; import IFileInfo from "../interfaces/IFileInfo"; import IInitializationInfo from "../model/IInitializationInfo"; import IMessageProperties from "../model/IMessageProperties"; import IPerson from "../model/IPerson"; import IRawBotMessage from "../interfaces/IRawBotMessage"; import IRawConversation from "../model/IRawConversation"; import IRawMessage from "../model/IRawMessage"; import IRawSDKSetupParameters from "../interfaces/IRawSDKSetupParameters"; import IRawThread from "../interfaces/IRawThread"; import ProtocolType from "../interfaces/ProtocoleType"; import TypingStatus from "../model/TypingStatus"; export default class FramelessBridge extends ClientBridge { private protocolAdapter; constructor(protocolType: ProtocolType); setup(setupParams: IRawSDKSetupParameters): Promise; update(sessionInfo: IInitializationInfo): Promise; onRegisterOnNewMessage(conversation: IRawConversation): Promise; onRegisterOnThreadUpdate(conversation: IRawConversation): Promise; initialize(sessionInfo: IInitializationInfo): Promise; dispose(): Promise; sendMessage(conversation: IRawConversation, message: IRawMessage): Promise; sendFileMessage(conversation: IRawConversation, fileMetadata: IFileMetadata, message: IRawMessage): Promise; getMessages(conversation: IRawConversation): Promise; disconnectFromConversation(conversation: IRawConversation): Promise; onJoinConversation(conversationId: string, sendHeartBeat?: boolean): Promise; sendFileData(conversation: IRawConversation, fileInfo: IFileInfo, fileSharingProtocolType?: FileSharingProtocolType): Promise; downloadFileData(conversation: IRawConversation, fileMetadata: IFileMetadata): Promise; getFileStatus(conversation: IRawConversation, fileMetadata: IFileMetadata): Promise; indicateTypingStatus(conversation: IRawConversation, typingStatus: TypingStatus, optionalProperties?: IMessageProperties): Promise; sendMessageToBot(conversation: IRawConversation, botId: string, botMessage: IRawBotMessage): Promise; getMembers(conversation: IRawConversation): Promise; registerOnNewMessage(conversation: IRawConversation, callback: (message: IRawMessage) => void): Promise; registerOnThreadUpdate(conversation: IRawConversation, callback: (message: IRawThread) => void): Promise; setDebug(flag?: boolean): void; }