export default self;
declare const self: Chat;
declare class Chat {
    currentMessageList: any[];
    firstLoaded: boolean;
    loadedTrueTimer: null;
    loadedFalseTimer: null;
    currentMessageMap: Map<any, any>;
    hasMore: boolean;
    messageLoading: boolean;
    alreadyKicked: boolean;
    msgIdsWillDelete: any[];
    msgAmIdsWillDelete: any[];
    isShowSelect: boolean;
    onReceiveMessage(messageList: any): void;
    msgUploadingList: {};
    removeUploadFromList(mid: any): void;
    get timeGroupByMessageList(): {
        keys: string[];
        groupedArr: import("lodash").Dictionary<any[]>;
    };
    getTimeToShow({ sender, timestamp, sendTime }: {
        sender: any;
        timestamp: any;
        sendTime: any;
    }): any;
    clearMessage(chatId: any): Promise<void>;
    transformNewMessage(messageList: any, forceId?: string, init?: boolean, hasClearUnread?: boolean): Promise<void> | undefined;
    loadConversationMessage(chatId: any, hasClearUnread?: boolean, count?: number, sequence?: number, isSearch?: boolean): Promise<import("@newSdk/model/Message").Message<string>[] | undefined>;
    loadHistoryMessage(offset?: number, count?: number, isSearch?: boolean): Promise<void>;
    sliceMessageList(ultimateSize?: number): Promise<boolean>;
    insertTempNode(extra: any, extendsOptions?: {}): void;
    sendMessage(message: any, source: any): Promise<any>;
    updateLoadingProgressByMid(id: any, progress: any): void;
    toggleShowSelect(val: any): void;
    updateMsgIdsWillDelete(mid: any, amid: any, checked: any): any[];
    resetMsgIdsWillDelete(): void;
    clearCache(): void;
    isGroupAlive(sessionId: any): Promise<void>;
    updateAlreadyKicked(alreadyKicked: any): Promise<void>;
    insertDraftDb(msg: {} | undefined, quote: any): Promise<void>;
}
