import { LokiAppDotNetServerInterface, LokiPublicChannelAPI, } from './loki_app_dot_net_api'; export interface LokiPublicChatFactoryInterface { ourKey: string; findOrCreateServer(url: string): Promise; findOrCreateChannel( url: string, channelId: number, conversationId: string ): Promise; getListOfMembers(): Promise< Array<{ authorPhoneNumber: string; authorProfileName?: string }> >; setListOfMembers( members: Array<{ authorPhoneNumber: string; authorProfileName?: string }> ); } declare class LokiPublicChatFactoryAPI implements LokiPublicChatFactoryInterface { constructor(ourKey: string); } export default LokiPublicChatFactoryAPI;