import { Message } from "@newSdk/model/Message";
/** create md5 16 */
export declare const getMd5: (prefix: string, suffix: string) => string;
/** create single chat id */
export declare const createSingleChatId: (userId1: string, userId2: string) => string;
/** create session chat Id */
export declare const createGroupChatId: (uid: string) => string;
/** create messageId */
export declare const createMessageId: (uid: string) => string;
/**
 * create moments
 */
export declare const createMomentId: (uid: string) => string;
export declare const createCommentId: (uid: string) => string;
export declare const getSingleChatTarget: (chatId: string) => string;
export declare const isGroup: (chatId: string) => boolean;
export declare const isP2P: (chatId: string) => boolean;
export declare const isMyFriend: (status?: number) => boolean;
export declare const isMe: (id: string) => boolean;
export declare const getMsgDisplayTime: (message: Message) => number | undefined;
export declare const getBaseInfoByChatId: (chatId: string) => Promise<any>;
export declare const arrayToMap: (array: any[], primaryKey: string) => Map<any, any>;
export declare const arrayToHashTable: (array: any[], primaryKey: string) => any;
/**
 * @description: 每次迭代，第一项的item 会覆盖其余项合并的 item, 从右往左合并
 * @param args
 */
export declare const mergeObArray: (...args: any[]) => any[];
/**
 * @description: 每次迭代，其余项合并的 item 会覆盖 第一项的item，从左往右合并
 * @param args
 */
export declare const mergeObArrayRight: (...args: any[]) => any[];
export declare const groupListByKey: (list: any[], key: string) => any;
export declare const trimAndDropEmpty: (obj: any) => import("lodash").Dictionary<any>;
export declare const fillAndUpdate: (source: any[], updateList: any[], compareKey: string) => any[];
export declare const getDisplayMessage: (message: Message) => number | undefined;
