import { ConversationDelegate, ConversationFolderOptions, ConversationSelector } from "../types";
import { HTMLAttributes } from "react";
import React from "react";
declare class ConversationViewModel {
    mSelectChatIds: string[];
    mUnSelectChatIds: string[];
    id: string;
    constructor(mSelectChatIds: string[], mUnSelectChatIds: string[]);
    static created(selector: ConversationSelector): ConversationViewModel;
    getView(): (props: HTMLAttributes<HTMLDivElement> & {
        delegate?: ConversationDelegate | undefined;
    }) => React.JSX.Element;
    getUnReadCount(): Promise<any>;
    updateSelector(selectAChatIds?: string[], unSelectAChatIds?: string[]): void;
    getSearchList(value: string): Promise<void>;
    selectUnread(unSelectAChatIds?: string[]): Promise<void>;
    setChatTop({ aChatId, isTop, onSuccess, onFail, }: {
        aChatId: string;
        isTop: boolean;
        onSuccess?: () => void;
        onFail?: () => void;
    }): void;
    getChatIsTop({ aChatId, callback }: {
        aChatId: string;
        callback?: (isTop: boolean) => void;
    }): void;
    setChatMute({ aChatId, isMute, onSuccess, onFail, }: {
        onSuccess?: () => void;
        onFail?: () => void;
        aChatId: string;
        isMute: boolean;
    }): void;
    getChatIsMute({ aChatId, callback }: {
        aChatId: string;
        callback?: (isMute: boolean) => void;
    }): void;
    scrollToChat({ aChatId, hideJudge }: {
        aChatId: string;
        hideJudge?: boolean;
    }): void;
    scrollToTop(): void;
    createFolderLastMessage(aChatId: string, content: string): any;
    setFolder({ aChatId, name, imageData, content }: ConversationFolderOptions): Promise<void>;
    removeFolder(aChatId: string): void;
    getChatList(): any[];
    selectSession(aChatId: string): void;
}
export default ConversationViewModel;
