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