export {}; declare global { declare const Bridge: typeof import('./bridge').Bridge; interface Window { /* six-aio 设备注入 */ bridge: InstanceType; } /** * Promise 扩展 */ interface PromiseConstructor { withResolvers(): { promise: Promise; resolve: (value: T | PromiseLike) => void; reject: (reason?: any) => void; }; } }