import { DownloadResult } from '../../utils/download'; export interface DownloadCloudFunctionOptions { /** * 服务空间ID */ spaceId: string; /** * 云函数名 */ name: string; /** * 保存路径 */ path: string; /** * 小程序appId */ appId: string; /** * 下载后,是否自动解压 * @default false */ unzip: boolean; } /** * 下载云函数 */ declare function downloadCloudFunction(options: DownloadCloudFunctionOptions): Promise; export default downloadCloudFunction;