/** * 运营商 */ export declare const Operator: { 1: string; 2: string; 3: string; }; /** * 内容类型 */ export declare const MSG_CONTENT_TYPE: { IMAGE_TEXT: number; TEXT: number; IMAGE: number; VIDEO: number; AUDIO: number; }; export declare const PATCHTYPES: { label: string; value: string; checked: boolean; }[]; /** * 消息类型常量及相关方法 * MO-上行消息 * MT-消息下行 * 定义规则:type值从小到大 */ export declare const _MSGTYPES: { MO: { SMS: { type: number; name: string; icon: string; }; VOICE: { type: number; name: string; icon: string; }; WECHAT: { type: number; name: string; icon: string; }; EMAIL: { type: number; name: string; icon: string; }; WORKWX: { type: number; name: string; icon: string; }; _5G: { type: number; name: string; icon: string; }; TIKTOK: { type: number; name: string; icon: string; }; }; MT: { SMS: { type: number; name: string; key: string; icon: string; icon_gray: string; patchTypes: string; autoReport: number; autoReply: number; channelProvider: number; channel: number; moRecord: number; }; MMS: { type: number; name: string; key: string; icon: string; icon_gray: string; patchTypes: string; autoReport: number; autoReply: number; channelProvider: number; channel: number; moRecord: number; }; WECHAT: { type: number; name: string; key: string; icon: string; icon_gray: string; patchTypes: string; autoReport: number; autoReply: number; channelProvider: number; channel: number; moRecord: number; }; VOICE: { type: number; name: string; key: string; icon: string; icon_gray: string; patchTypes: string; autoReport: number; autoReply: number; channelProvider: number; channel: number; moRecord: number; }; EMAIL: { type: number; name: string; key: string; icon: string; icon_gray: string; patchTypes: string; autoReport: number; autoReply: number; channelProvider: number; channel: number; moRecord: number; }; WEIBO: { type: number; name: string; key: string; icon: string; icon_gray: string; patchTypes: string; autoReport: number; autoReply: number; channelProvider: number; channel: number; moRecord: number; }; JPUSH: { type: number; name: string; key: string; icon: string; icon_gray: string; patchTypes: string; autoReport: number; autoReply: number; channelProvider: number; channel: number; moRecord: number; }; TIKTOK: { type: number; name: string; key: string; icon: string; icon_gray: string; patchTypes: string; autoReport: number; channelProvider: number; channel: number; moRecord: number; }; WORKWX: { type: number; name: string; key: string; icon: string; icon_gray: string; patchTypes: string; autoReport: number; autoReply: number; channelProvider: number; channel: number; moRecord: number; }; _5G: { type: number; name: string; key: string; icon: string; icon_gray: string; patchTypes: string; autoReport: number; autoReply: number; channelProvider: number; channel: number; moRecord: number; }; }; getMsgList: typeof getMsgList; getMsgListByTypes: typeof getMsgListByTypes; getMsgNamesByTypes: typeof getMsgNamesByTypes; getMsgByType: typeof getMsgByType; getMsgByName: typeof getMsgByName; getMsgTplOptions: typeof getMsgTplOptions; }; /** * 获取上/下行所有的消息类型的数组 * @param isMo 是否为上行消息 * @returns [...{type: 0, name: '短信'}] */ declare function getMsgList(isMo?: any): any[]; /** * 传入不确定个数的消息类型,返回对应消息类型的数组 * @param isMo 是否为上行消息 * @param msgTypes 消息类型 * @returns [...{type: 0, name: '短信'}] */ declare function getMsgListByTypes(isMo: any, ...msgTypes: any[]): any[]; /** * 传入含有多个消息类型的字符串,返回对应消息类型的名称字符串 * @param isMo 是否为上行消息 * @param msgTypes 消息类型 * @param separator 消息类型字符串的分隔符,默认为逗号 * @returns '短信,语音,...' */ declare function getMsgNamesByTypes(isMo: any, msgTypes: any, separator?: any): string; /** * 通过类型获取消息类型的对象 * @param isMo 是否为上行消息 * @param msgType 消息类型 * @returns 消息类型对象 {type: -, name: -} */ declare function getMsgByType(isMo: any, msgType: any): any; /** * 获取消息类型的对象 * @param isMo 是否为上行消息 * @param msgName 消息类型的名称 * @returns 消息类型对象 {type: -, name: -} */ declare function getMsgByName(isMo: any, msgName: any): {}; /** * 获取生成消息模板的初始配置 * @param msgType 消息类型或自定义配置名 * @param isMo 是否为上行消息,默认false * @returns 生成消息模板的初始配置 */ export declare function getMsgTplOptions(msgType: any, isMo?: boolean): any; /** * 通过组件类型获取对应组件的配置对象 * @param tplOptions 模板配置 * @param compType 组件类型 * @returns 对应组件的配置对象 */ export declare function getCompOptionsByType(tplOptions: any, compType: string): any[]; /** * 通过组件类型动态生成配置对象 * @param compTypeList 组件类型列表 * @returns 生成的配置对象 */ export declare function createSimpleOptionByCompTypes(compTypeList: any): { form: any[]; }[]; export {};