import { TodoOptionItem, TodoAction } from '@wufengteam/core'; /** * 获取组件名称 * TODO: 这里是根节点历史遗留问题,后期可根据rootNode下pageContainerType访问 */ export declare const getComponentName: (compName: string, pageContainerType: any) => any; declare const handleActionList: (value: any, compName: any, isMobile: boolean, selectedPage: any, pageContainerType: any) => TodoAction[]; /** * 通过key获取动作项, * @param key * @param compName * @param isMobile * @returns */ declare const getActionObjByKey: (key: string, compName: string, isMobile: boolean | undefined, pageContainerType?: string) => TodoAction | undefined; /** * 获取有哪些用了包含key动作的组件 * @deprecated 禁止使用该方法,后续会进行移除 * @param key * @param isMobile * @returns */ declare const getCompNamesByActionKey: (key: any, isMobile: boolean) => string[]; declare const getActionTodoOptionsByKey: (key: any, compName: string, isMobile: boolean, pageContainerType: any) => TodoOptionItem[]; /** * 通过组件名称获取对应的动作列表 * @param compName * @param isMobile * @returns */ declare const getActionListByComp: (compName: string, isMobile: boolean, pageContainerType: any) => TodoAction[]; /** * 获取条件选项列表 * @param isMobile * @returns */ declare const getConditionOptionList: (isMobile: boolean) => ({ key: string; label: string; objNames: string[]; todoOptions: never[]; condNames: string[]; col?: undefined; } | { key: string; label: string; col: number; objNames: string[]; todoOptions: string[]; condNames: string[]; })[]; /** * 通过key获取组件列表 * @param key * @param actionList * @param isMobile */ declare const getObjNamesByKey: (key: string, isMobile: boolean, actionList?: any) => any; /** * 通过动作key和组件名称获取对应的动作中文名 * @param key * @param compName 组件名称 * @param isMobile 是否是移动端 * @returns */ declare const getLabelByKey: (key: string, compName: string, isMobile: boolean, pageContainerType: any) => string; export { getActionListByComp, getLabelByKey, getObjNamesByKey, getActionObjByKey, getConditionOptionList, getActionTodoOptionsByKey, getCompNamesByActionKey, handleActionList, };