import { TemplateInfo, TemplateParams } from '../../../type/index'; declare class TemplateManager { private templates; private commonTemplates; private contentTemplates; constructor(); /** * 获取对应的模版 * * @param { TemplateMode } modeType 模版类型 * @param { number } templateCount 模版对应画面数量 * @param { number } participantCount 会议总人数 * @param { boolean } isEnableHideLocalView 是否隐藏Local, 默认:false * @param { boolean } isChairmanMode 是否有主会场, 默认:false * @param { TemplateType } templateType 全屏画面类型 * @param { LayoutOrientationType } orientation 移动端方向,默认 'NONE':PC端 * @param { boolean } isInDialogMode 是否是对话模式布局, 默认:false * @returns */ getTemplate({ modeType, templateCount, participantCount, isEnableHideLocalView, isChairmanMode, templateType, orientation, focusViewConfig, isInDialogMode }: TemplateParams): TemplateInfo; /** * 处理指定的焦点画面模版信息 * * @param { ITemplateObj[] } newTemplate - 模版信息 * @param { FocusViewConfig } focusViewConfig - 指定的焦点画面的信息 */ private handleForceView; /** * 处理对话模式布局: 对称布局,主会场+本地画面+未静音分会场 * * @param { ITemplateObj[] } newTemplate 模版信息 * @returns */ private handleDialogLayout; /** * 获取不同平台,不同方向 对应的所有模版类型数据 * * @param { LayoutOrientationType } orientation * @returns { ITemplate } */ private getAllTemplates; /** * 初始化content模版数据 */ private getContentTemplates; /** * 初始化 移动端 模版数据 */ private getMobileTemplates; /** * 获取全屏模版 * * @param { TemplateType } type - 全屏对象的类型, PEOPLE/CONTENT等 * @returns { TemplateInfo } */ private getFullLayoutTemplate; /** * [content]缩略视图: 和演讲者布局一样,但是主画面显示content,分辨率请1080P * * @param { TemplateInfos } template * @returns */ private getMultiPicContentHighPriority; /** * [content] 缩略共享: 和演讲者布局一样, 但是左列第二画面小窗口显示content, 分辨率请720P * * @param { TemplateInfos } template * @returns */ private getMultiPicActiveHighPriority; } export default TemplateManager;