export declare enum AppBindType {
    MENU = "MENU",
    VIEW = "VIEW",
    URL = "URL"
}
export declare const CreateAppForm = "CreateAppForm";
export declare const UpdateAppForm = "UpdateAppForm";
export declare const BindAppHomepageForm = "BindAppHomepageForm";
export declare const EditAppModelModel = "apps.AppsManagementModule";
export declare const CreateAppFormXml = "\n<view type=\"FORM\" model=\"apps.AppsManagementModule\" name=\"CreateAppForm\" title=\"\u521B\u5EFA\">\n    <field data=\"id\" label=\"id\" invisible=\"true\"/>\n    <field data=\"moduleType\" label=\"\u7C7B\u578B\" required=\"true\" widget=\"Radio\" hint=\"\u5927\u578B\u5E94\u7528\u53EF\u5C06\u90E8\u5206\u4E0D\u9700\u8981\u9875\u9762\u7EF4\u62A4\u7684\u5C01\u88C5\u5728\u6A21\u5757\u4E2D\"/>\n    <field data=\"displayName\" label=\"\u540D\u79F0\" required=\"true\"/>\n    <field data=\"module\" readonly=\"activeRecord.id\" label=\"\u6280\u672F\u540D\u79F0\" pattern=\"^[A-Za-z](?!.*__.*)(?!.*_+$)[\\w]*$\" tips=\"\u4EC5\u652F\u6301\u4F7F\u7528\u6570\u5B57\u3001\u5B57\u6BCD\u3001\u4E0B\u5212\u7EBF\uFF0C\u4E14\u4EE5\u5B57\u6BCD\u5F00\u5934\" minLength=\"3\" maxLength=\"64\"/>\n    <field data=\"appsModuleDependencyList\" label=\"\u4F9D\u8D56\u6A21\u5757\" widget=\"Select\" domain=\"module!='${activeRecord.module}'\"/>\n    <field data=\"appsModuleUpstreamList\" label=\"\u4E0A\u6E38\u6A21\u5757\" widget=\"AppsModuleUpstreamSelect\" moduleOptionsField=\"appsModuleDependencyList\" help=\"\u4E0A\u6E38\u6A21\u5757\u53EA\u80FD\u5728\u4F9D\u8D56\u6A21\u5757\u5217\u8868\u4E2D\u9009\u62E9\"/>\n    <field data=\"moduleCategory\" label=\"\u5206\u7C7B\" required=\"true\" domain=\"parentCode=isnull=false\"/>\n    <field data=\"clientTypes\" label=\"\u5BA2\u6237\u7AEF\u7C7B\u578B\"/>\n    <field data=\"logo\" label=\"\u56FE\u6807\" hint=\"\u5EFA\u8BAE\u4E0A\u4F20\u5BBD\u9AD8\u5C3A\u5BF8\u76F8\u540C\u7684\u56FE\u7247\" widget=\"UploadImg\"/>\n    <field data=\"description\" label=\"\u63CF\u8FF0\"/>\n</view>\n";
export declare const UpdateAppFormXml = "\n<view type=\"FORM\" model=\"apps.AppsManagementModule\" name=\"UpdateAppForm\" title=\"\u7F16\u8F91\">\n    <field data=\"id\" label=\"id\" invisible=\"true\"/>\n    <field data=\"moduleType\" label=\"\u7C7B\u578B\" readonly=\"true\" widget=\"Select\" hint=\"\u5927\u578B\u5E94\u7528\u53EF\u5C06\u90E8\u5206\u4E0D\u9700\u8981\u9875\u9762\u7EF4\u62A4\u7684\u5C01\u88C5\u5728\u6A21\u5757\u4E2D\"/>\n    <field data=\"displayName\" label=\"\u540D\u79F0\" required=\"true\"/>\n    <field data=\"module\" readonly=\"true\" label=\"\u6280\u672F\u540D\u79F0\" />\n    <field data=\"appsModuleDependencyList\" label=\"\u4F9D\u8D56\u6A21\u5757\" widget=\"Select\" domain=\"module!='${activeRecord.module}'\" optionFields=\"id,displayName,module\"/>\n    <field data=\"appsModuleUpstreamList\" label=\"\u4E0A\u6E38\u6A21\u5757\" widget=\"AppsModuleUpstreamSelect\" moduleOptionsField=\"appsModuleDependencyList\" help=\"\u4E0A\u6E38\u6A21\u5757\u53EA\u80FD\u5728\u4F9D\u8D56\u6A21\u5757\u5217\u8868\u4E2D\u9009\u62E9\" optionFields=\"id,displayName,module\"/>\n    <field data=\"moduleCategory\" label=\"\u5206\u7C7B\" required=\"true\" domain=\"parentCode=isnull=false\"/>\n    <field data=\"clientTypes\" label=\"\u5BA2\u6237\u7AEF\u7C7B\u578B\"/>\n    <field data=\"logo\" label=\"\u56FE\u6807\" hint=\"\u5EFA\u8BAE\u4E0A\u4F20\u5BBD\u9AD8\u5C3A\u5BF8\u76F8\u540C\u7684\u56FE\u7247\" widget=\"UploadImg\"/>\n    <field data=\"description\" label=\"\u63CF\u8FF0\"/>\n</view>\n";
export declare const BindAppHomepageFormXml = "\n<view type=\"FORM\" model=\"apps.AppsManagementModule\" name=\"BindAppHomepageForm\" title=\"\u8BBE\u7F6E\u9996\u9875\">\n    <field data=\"id\" label=\"id\" invisible=\"true\"/>\n    <field data=\"module\" label=\"id\" invisible=\"true\"/>\n    <field data=\"bindType\" labelInvisible=\"true\" widget=\"Radio\" ttype=\"ENUM\">\n        <options>\n            <option name=\"MENU\" value=\"MENU\" label=\"\u7ED1\u5B9A\u83DC\u5355\"></option>\n            <option name=\"VIEW\" value=\"VIEW\" label=\"\u7ED1\u5B9A\u89C6\u56FE\"></option>\n            <option name=\"URL\" value=\"URL\" label=\"\u7ED1\u5B9AURL\"></option>\n        </options>\n    </field>\n    <field data=\"bindHomePageMenu\" widget=\"TreeSelect\" required=\"activeRecord.bindType == 'MENU'\" label=\"\u83DC\u5355\" placeholder=\"\u8BF7\u9009\u62E9\u83DC\u5355\" invisible=\"activeRecord.bindType != 'MENU'\" onlySelectedLeaf=\"true\" fetchAll=\"true\">\n        <node model=\"apps.AppsModuleMenuProxy\" label=\"activeRecord.displayName\" labelFields=\"displayName\" selfReferences=\"parentProxy\" filter=\"module == '${activeRecord.module}'\" searchFields=\"displayName\"/>\n    </field>\n    <field data=\"bindHomePageModel\" label=\"\u6A21\u578B\" required=\"activeRecord.bindType == 'VIEW'\" invisible=\"activeRecord.bindType != 'VIEW'\" widget=\"AppHomepageModelSelect\" optionLabel=\"activeRecord.displayName\" clearFields=\"bindHomePageView\" optionFields=\"displayName,rootModuleModule,model\" queryData-rootModuleModule=\"activeRecord.module\"/>\n    <field data=\"bindHomePageView\" label=\"\u9875\u9762\" required=\"activeRecord.bindType == 'VIEW'\" invisible=\"activeRecord.bindType != 'VIEW'\" widget=\"Select\" domain=\"model==${activeRecord.bindHomePageModel.model}\" optionFields=\"title,name\" optionLabel=\"activeRecord.title || activeRecord.name\"/>\n    <field data=\"goToUiHomePage\" labelInvisible=\"true\" widget=\"GoToUiHomePage\" ttype=\"STRING\" invisible=\"activeRecord.bindType != 'VIEW'\"/>\n    <field data=\"urlHomePage\" labelInvisible=\"true\" widget=\"Form\" invisible=\"rootRecord.bindType != 'URL'\" submitType=\"all\" relationUpdateType=\"all\">\n        <view type=\"form\">\n            <template slot=\"form\">\n                <field data=\"url\" label=\"URL\" ttype=\"STRING\" required=\"rootRecord.bindType == 'URL'\" widget=\"Input\" />\n                <field data=\"target\" label=\"\u8DF3\u8F6C\u7C7B\u578B\" required=\"rootRecord.bindType == 'URL'\" widget=\"Select\">\n                    <options>\n                        <option name=\"INNER\" value=\"INNER\" label=\"\u9875\u5185\u8DEF\u7531\"></option>\n                        <option name=\"OPEN_WINDOW\" value=\"OPEN_WINDOW\" label=\"\u6253\u5F00\u65B0\u7A97\u53E3\"></option>\n                    </options>\n                </field>\n            </template>\n        </view>\n    </field>\n</view>\n";
export declare function bindHomePageByView(id: any, viewId: any): Promise<void>;
export declare function bindHomePageByMenu(id: any, menuId: any): Promise<void>;
export declare function bindHomePageByURL(id: any, url: any, target: any): Promise<void>;
export declare function appQueryOne(id: any): Promise<Record<string, unknown>>;
export declare function installAppFun(id: any): Promise<Record<string, unknown>>;
export declare function uninstallAppFun(id: any): Promise<Record<string, unknown>>;
