2026-04-24 16:16:31 +08:00
|
|
|
export { ImSDK } from './ImSDK'
|
2026-04-25 17:27:19 +08:00
|
|
|
import { ImSDK as _ImSDK } from './ImSDK'
|
|
|
|
|
|
|
|
|
|
// Convenience named exports for friend APIs
|
|
|
|
|
export const listFriends = (): Promise<string[]> => _ImSDK.listFriends()
|
|
|
|
|
export const addFriend = (friendId: string): Promise<void> => _ImSDK.addFriend(friendId)
|
|
|
|
|
export const removeFriend = (friendId: string): Promise<void> => _ImSDK.removeFriend(friendId)
|
2026-04-24 16:16:31 +08:00
|
|
|
export { ImClient } from './ImClient'
|
2026-04-24 20:54:12 +08:00
|
|
|
export { ImDatabase } from './db/ImDatabase'
|
2026-04-25 16:41:19 +08:00
|
|
|
export type { MessageSearchParams } from './db/ImDatabase'
|
2026-04-24 16:16:31 +08:00
|
|
|
export type {
|
|
|
|
|
ImMessage, ImGroup, ChatType, MsgType, MsgStatus,
|
|
|
|
|
ImEventListener, SendMessageParams,
|
2026-04-28 10:27:23 +08:00
|
|
|
ConversationData,
|
2026-04-28 16:55:12 +08:00
|
|
|
HistoryQuery,
|
|
|
|
|
PageResult,
|
2026-04-28 10:27:23 +08:00
|
|
|
FriendRequest,
|
|
|
|
|
GroupJoinRequest,
|
|
|
|
|
BlacklistEntry,
|
2026-04-28 16:55:12 +08:00
|
|
|
UserProfile,
|
2026-04-24 16:16:31 +08:00
|
|
|
} from './types'
|
2026-04-25 16:41:19 +08:00
|
|
|
export { uploadFile } from './upload'
|
|
|
|
|
export type { UploadResult } from './upload'
|