import { Connection } from "./core/connection"; import { Platform } from "./core/types"; interface ConnectionManagerOpenParams { heightPx?: number; nonce?: string; url: string | Promise; widthPx?: number; } export declare class ConnectionManager { private readonly platform; private connection; private popupWindow; private connectionUpdatedCallback?; private nonce?; private readonly handleMessage; constructor(platform: Platform); initialize(): this; tearDown(): this; open({ url, widthPx, heightPx, nonce, }: ConnectionManagerOpenParams): Promise; close(): void; onConnectionUpdated(callback: (connection: Connection | null) => void): this; getConnection(): Connection | null; private setUrl; private resetConnectionAndPopupWindow; private resetConnection; private verifyAndResetNonce; } export {}; //# sourceMappingURL=connection-manager.d.ts.map