/** * LanguageDescription - 语言描述信息 */ type LanguageDescription = { enDesc: string; cnDesc: string; code: string; orderNum: number; }; /** * GetAllLanguagesResponse - 获取食谱所有语言响应 */ type GetAllLanguagesResponse = LanguageDescription[]; /** * 获取食谱所支持的所有语言信息 * @returns {Promise} - 获取所有语言信息结果的 Promise */ export declare const getAllLanguages: () => Promise; /** * GetSearchModelParams - 获取搜索模型参数 */ type GetSearchModelParams = { productId: string; }; /** * SearchModelResponse - 获取搜索模型响应 */ type SearchModelResponse = { metadata: Metadata[]; productGroup: ProductGroup[]; }; /** * Metadata - 元数据信息 */ type Metadata = { gmtModified: number; code: string; id: number; gmtCreate: number; value: string; langInfos: LangInfo[]; key: string; }; /** * ProductGroup - 产品组信息 */ type ProductGroup = { gmtModified: number; name: string; id: number; gmtCreate: number; }; /** * 获取 C 端用户搜索模型 * @param {GetSearchModelParams} params - 获取搜索模型参数 * @returns {Promise} - 获取搜索模型结果的 Promise */ export declare const getSearchModel: (params: GetSearchModelParams) => Promise; /** * CookingTimeCondition - 烹饪时间筛选条件 */ type CookingTimeCondition = { sourceType: number; name?: string; categoryIds?: number[]; }; /** * GetCookingTimeConditionParams - 获取烹饪时间筛选条件参数 */ type GetCookingTimeConditionParams = { query: CookingTimeCondition; devId: string; }; /** * CookingTimeConditionResponse - 获取烹饪时间筛选条件响应 */ type CookingTimeConditionResponse = { minCookTime: number; maxCookTime: number; }; /** * 获取已上线食谱的最小、最大烹饪时间 * @param {GetCookingTimeConditionParams} params - 获取烹饪时间筛选条件参数 * @returns {Promise} - 获取烹饪时间筛选条件结果的 Promise */ export declare const getCookingTimeCondition: (params: GetCookingTimeConditionParams) => Promise; export {};