export {}; declare global { declare const Bridge: typeof import('./bridge').Bridge; interface Window { /* six-aio 设备注入 */ bridge: InstanceType; /** * webview 设备注入的 全局对象(历史遗留) * @deprecated 使用 bridge */ AIO: Partial; } /** * Promise 扩展 */ interface PromiseConstructor { withResolvers(): { promise: Promise; resolve: (value: T | PromiseLike) => void; reject: (reason?: any) => void; }; } }