/** * GetRecipePrimaryCategoryListParams - 获取食谱一级分类列表参数 */ type GetRecipePrimaryCategoryListParams = { productId: string; }; /** * GetRecipePrimaryCategoryListResponse - 获取食谱一级分类列表响应 */ type GetRecipePrimaryCategoryListResponse = RecipePrimaryCategory[]; /** * 食谱分类 */ type RecipePrimaryCategory = { gmtCreate: number; gmtModified: number; id: number; imageUrl: string; langInfo: LangInfo[]; name: string; }; /** * 获取食谱一级分类列表 * @param {GetRecipePrimaryCategoryListParams} params - 获取食谱一级分类列表参数 * @returns {Promise} - 获取食谱一级分类列表响应的 Promise */ export declare const getRecipePrimaryCategoryList: (params: GetRecipePrimaryCategoryListParams) => Promise; /** * GetRecipeCategoryListParams - 获取食谱分类列表参数 */ type GetRecipeCategoryListParams = { productId: string; }; /** * GetRecipeCategoryListResponse - 获取食谱分类列表响应 */ type GetRecipeCategoryListResponse = RecipeCategory[]; /** * 食谱分类 */ type RecipeCategory = { id: number; imageUrl: string; name: string; parentId: number; level: number; langInfo: LangInfo[]; subMenuCategories: SubMenuCategory[]; gmtCreate: number; gmtModified: number; }; /** * 二级分类信息 */ type SubMenuCategory = { id: number; imageUrl: string; name: string; parentId: number; level: number; langInfo: LangInfo[]; gmtCreate: number; gmtModified: number; }; /** * 获取食谱分类列表 * @param {GetRecipeCategoryListParams} params - 获取食谱分类列表参数 * @returns {Promise} - 获取食谱分类列表响应的 Promise */ export declare const getRecipeCategoryList: (params: GetRecipeCategoryListParams) => Promise; export {};