/** * 企业微信媒体(图片)下载和保存模块 * * 负责下载、检测格式、保存图片到本地,包含超时保护 */ import type { OpenClawConfig } from "openclaw/plugin-sdk/core"; import type { RuntimeEnv } from "openclaw/plugin-sdk/runtime-env"; import type { WSClient } from "@wecom/aibot-node-sdk"; import type { ResolvedWeComAccount } from "./utils.js"; /** * 下载并保存所有图片到本地,每张图片的下载带超时保护 */ export declare function downloadAndSaveImages(params: { imageUrls: string[]; imageAesKeys?: Map; account: ResolvedWeComAccount; config: OpenClawConfig; runtime: RuntimeEnv; wsClient: WSClient; }): Promise>; /** * 下载并保存所有文件到本地,每个文件的下载带超时保护 */ export declare function downloadAndSaveFiles(params: { fileUrls: string[]; fileAesKeys?: Map; account: ResolvedWeComAccount; config: OpenClawConfig; runtime: RuntimeEnv; wsClient: WSClient; }): Promise>;