/** * Global type declarations for WeChat mini-program environment. * Replaces `miniprogram-api-typings` with a loose declaration that * also covers custom properties attached by business code (e.g. wx.$chat). */ declare const wx: Record; /** UniApp global instance — available at runtime in all UniApp environments. */ declare const uni: Record; declare namespace WechatMiniprogram { interface Wx { [key: string]: any; } interface AuthSetting { [key: string]: boolean | undefined; } }