/** * Main thread Worker host — thin shim that keeps UI responsive. * * Responsibilities: * 1. Create Worker and proxy mailxapi calls to it * 2. Proxy TCP calls from Worker to msgapi.tcp (C# native bridge) * 3. Proxy native bridge calls (OAuth, device info) * 4. Forward events from Worker to UI event handlers * 5. Set up visibilitychange/periodic sync triggers * * The UI code (api-client.ts) calls window.mailxapi.* exactly as before — * this host just routes those calls to the Worker instead of running them inline. */ export {}; //# sourceMappingURL=main-thread-host.d.ts.map