export declare enum JmUrlEnum { /** 组织基础url https://org.test.jianmu.dev https://org.jianmuhub.com */ ORG_URL = 0, /** 登录基础url https://login.test.jianmu.dev https://login.jianmuhub.com */ LOGIN_URL = 1, /** hub基础url https://hub.test.jianmu.dev https://jianmuhub.com */ BASE_URL = 2, /** 流水线基础url https://devops.test.jianmu.dev https://devops.jianmuhub.com */ DEVOPS_BASE_URL = 3, /** 镜像库基础url https://image.test.jianmu.dev https://image.jianmuhub.com */ MY_IMAGE_URL = 4, /** 资源广场基础url https://res.test.jianmu.dev https://res.jianmuhub.com */ RES_BASE_URL = 5, /** 密钥管理基础url https://sk.test.jianmu.dev https://sk.jianmuhub.com */ SK_BASE_URL = 6, /** 设置基础url https://settings.test.jianmu.dev https://settings.jianmuhub.com */ SET_BASE_URL = 7, /** 费用管理基础url https://fee.test.jianmu.dev https://fee.jianmuhub.com */ FEE_BASE_URL = 8 } /** * 获取对应type域名 * @param type 域名类型枚举 JmUrlEnum */ export declare const getUrl: (type: JmUrlEnum) => Promise; /** * 获取测试或生产 api路径 * @param path 拼接路径 string * @param query 对象参数 Record */ export declare const getApiUrl: (path?: string | undefined, query?: Record | undefined) => Promise; /** * 获取测试或生产基础图片资源前缀 */ export declare const getImgUrl: () => Promise; /** * 获取测试或生产 cookieDomain */ export declare const getCookieDomain: () => Promise; /** * 获取平台名字 */ export declare const getPlatformName: () => Promise;