export declare function generateCommonAPI(params: any): import("../request/interface").RequestInstance; /** * 功能: * 每个只会获取一次,注意生命周期 * * 定义: * * 平台(platform)定义:每个不同平台比如门户 * 平台:https://topic.ykt.cbern.com.cn/web/cms/platform.json * 根据platform 的 sdpappid 可以获取到 平台下的模块、频道、内容库 * 模块(module)定义:每个模块比如课程、专题(用于导航等) * 模块:https://topic.ykt.cbern.com.cn/web/cms/b5198764-c009-4e97-839c-8dd0c3d2492f_module.json * 频道(channel)定义:每个模块下的频道页面,频道可以串联内容库聚合页 * 频道:https://topic.ykt.cbern.com.cn/web/cms/b5198764-c009-4e97-839c-8dd0c3d2492f_channel.json * columnCodes则是这个频道下的内容库聚合页(列表页的一种)有哪些内容库组合,比如只有单库则有单库的页面,多库有多库的页面 * 内容库(library)定义:每个频道下的内容库聚合页(单种列表),内容库可以串联内容库详情页 * 内容库:https://topic.ykt.cbern.com.cn/web/cms/b5198764-c009-4e97-839c-8dd0c3d2492f_library.json */ export declare function getLiraryConfig(sdpAppId: string, apiHost?: string): Promise; export declare function getChannelConfig(sdpAppId: string, apiHost?: string): Promise; export declare function getMoudlesConfig(sdpAppId: string, apiHost?: string): Promise; export declare function getPlatformConfig(apiHost?: string): Promise; export declare function getConfig(sdpAppId: string, apiHost?: string): Promise<{ moudles: any; channel: any; library: any; }>;