// global.d.ts declare namespace wx { function login(options: { success: (res: { code: string }) => void, fail: (res: any) => void, complete: (res: any) => void }): void; function createRewardedVideoAd(options: { adUnitId: string }): any; } declare namespace ks { function login(options: { success: (res: { code: string }) => void, fail: (res: any) => void, complete: (res: any) => void }): void; } declare namespace tt { function login(options: { success: (res: { code: string }) => void, fail: (res: any) => void, complete: (res: any) => void }): void; } declare namespace my { function login(options: { success: (res: { code: string }) => void, fail: (res: any) => void, complete: (res: any) => void }): void; }