/** * 对外暴露的公共配置 */ interface ICloudConfig { /** * getTempFileURL 节流等待时间, 默认50ms */ tempURLMaxWaitGap: number; /** 用户UA */ userAgent: string; } export declare const cloudConfig: Partial; /** * 设置 weda-cloud-sdk * @param cfg 配置信息 */ export declare function setCloudConfig(cfg: typeof cloudConfig): void; /** * 获取全局对象 window * 小程序中可用, 但小程序中对象信息残缺, 无法访问 navigator 对象, ua 信息也无意义 */ export declare function getGlobalObj(): false | typeof globalThis; /** 获取referrer 信息, 担心小程序中报错, 故catch */ export declare function getReferrer(): any; /** 获取用户UA, 小程序中使用 getSystemInfo 替代 */ export declare function getUserAgent(): any; /** 云开发库的版本 */ export declare const VERSION: string | undefined; export {};