import { WindowController } from "./common/window/windowController"; declare class WindowService { private static _instance; static get instance(): WindowService; private windowControllers; /** * One initialization round-trip: hand the popup a fresh `MessagePort` and wait * for it to accept. A re-drive mints a new channel, so the port the handshake * settles with is always the one the popup actually took. */ private sendWindowInitializationRequest; openAndInitializeWalletServiceWindow({ url, windowId, sessionId, partnerId, enableLogging, onRetry, sdkVersion, enableAutomation, }: { url: string; windowId: string; sessionId: string; partnerId: string; enableLogging: boolean; enableAutomation: boolean; sdkVersion: string; onRetry: () => Promise; }): Promise<{ windowController: WindowController; port: MessagePort; }>; getWindowController(windowId: string): WindowController | undefined; removeWindowController(windowId: string): void; } declare const _default: WindowService; export default _default;