import { MicroTempInfo, RoomInfoType, RoomActionsItem, StorageType, COS_INFO, OSS_INFO, RtcInfoType } from '../common/Classes';
import { AxiosRequestConfig } from 'axios';
/**
 * 获取所有房间模板列表
 * @returns
 */
export declare function getApps(token: string, ids?: string[], host?: string): Promise<Array<MicroTempInfo>>;
/**
 * 获取模板详情
 * @param id
 * @returns
 */
export declare function getTempInfoById(id: string, token: string, host?: string): Promise<MicroTempInfo>;
/**
 * 检测是否登录
 */
export declare function checkToken(token: string, host?: string): Promise<boolean>;
/**
 * 创建子账号token
 */
export declare function createSubAuthToken(token: string, subAuthId: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9, host?: string): Promise<string>;
export declare function getRoomInfo(token: string, host?: string): Promise<RoomInfoType>;
export declare function createWebRTCRoom(customRoomid: string, token: string, host?: string): Promise<RtcInfoType>;
export declare function getRoomActionsById(token: string, page?: number, pageSize?: number, sort?: 1 | -1, userCustomRoomid?: string | string[], host?: string): Promise<{
    pageSize: number;
    total: number;
    page: number;
    list: RoomActionsItem[];
}>;
export declare function getRoomActionsChatById(token: string, 
/**
 * unread 未读异常
 * read 已读异常
 * all 全部异常
 */
status?: 'read' | 'unread' | 'all', page?: number, pageSize?: number, sort?: 1 | -1, userCustomRoomid?: string | string[], host?: string): Promise<{
    pageSize: number;
    total: number;
    page: number;
    list: RoomActionsItem[];
}>;
export declare function getRoomActionsNoticeById(token: string, 
/**
 * unread 未读异常
 * read 已读异常
 * all 全部异常
 */
status?: 'read' | 'unread' | 'all', page?: number, pageSize?: number, sort?: 1 | -1, userCustomRoomid?: string | string[], host?: string): Promise<{
    pageSize: number;
    total: number;
    page: number;
    list: RoomActionsItem[];
}>;
export declare function getRoomActionsAbnormalById(token: string, status?: 'read' | 'unread' | 'all', page?: number, pageSize?: number, sort?: 1 | -1, uid?: number, userCustomRoomid?: string | string[], host?: string): Promise<{
    pageSize: number;
    total: number;
    page: number;
    list: RoomActionsItem[];
}>;
export declare function getRoomInitActions(token: string, userCustomRoomid?: string[], refresh?: boolean, host?: string): Promise<{
    [key: string]: RoomActionsItem;
}>;
/**
 * 返回服务器毫秒时间
 * @param token
 * @param host
 * @returns 毫秒时间数字
 */
export declare function getServerTime(token: string, host?: string): Promise<{
    time: number;
}>;
export declare function getStorageConfig(type: StorageType, token: string, host?: string): Promise<{
    type: StorageType;
    data: COS_INFO | OSS_INFO;
}>;
export declare function getProxyApiData(url: string, data: AxiosRequestConfig['data'], token: string, host?: string): Promise<{
    type: StorageType;
    data: COS_INFO | OSS_INFO;
}>;
export declare function getTestPaperList(token: string, host?: string): Promise<{
    pageSize: number;
    total: number;
    page: number;
    list: RoomActionsItem[];
}>;
export declare function getTestPaperForID(paperid: string, token: string, host?: string): Promise<RoomActionsItem>;
export declare function getGiveTestPape(uid: number | undefined, token: string, host?: string): Promise<RoomActionsItem>;
export declare function giveTestPaperForID(paperid: string, uid: number | number[] | undefined, token: string, host?: string): Promise<RoomActionsItem>;
export declare function unGiveTestPaperForID(paperid: string, uid: number | number[] | undefined, token: string, host?: string): Promise<RoomActionsItem>;
export declare function getUserTestPaperList(page: number, pageSize: number, token: string, host?: string): Promise<RoomActionsItem>;
export declare function getUserTestPaperInfo(pageid: string, token: string, host?: string): Promise<RoomActionsItem>;
export declare function getTestPaperAnswerForID(paperid: string, token: string, host?: string): Promise<boolean>;
export declare function saveTestPaperAnswerForID(paperid: string, data: any, token: string, host?: string): Promise<{
    paperid: string;
    data: any;
}>;
export declare function autoSaveTestPaperAnswerForID(paperid: string, data: any, token: string, host?: string): Promise<{
    paperid: string;
    data: any;
}>;
export declare function startRecord(data: any, token: string, host?: string): Promise<{
    paperid: string;
    data: any;
}>;
export declare function stopRecord(data: any, token: string, host?: string): Promise<{
    paperid: string;
    data: any;
}>;
declare const _default: {};
export default _default;
