export declare const buyPopupFeatures: () => string; /** * Opens the provider window while the browser's transient user activation is still * live. Browsers only honour `window.open` for a short window after the originating * click — roughly 0.5s in Safari, 1s in Chrome and Firefox — and creating an onramp * session takes longer than that, so opening the window after the `await` gets it * blocked and `window.open` returns null. Reserve it up front on `about:blank` and * point it at the provider once the session resolves. * * Must be called synchronously from a user gesture handler. */ export declare const reserveBuyPopup: () => Window | null; /** Hands the reserved window to the caller, which becomes responsible for it. */ export declare const takeBuyPopup: () => Window | null; export declare const closeBuyPopup: () => void; /** * Navigates an already-open window to the provider. Cross-origin navigation of a * window you opened is allowed (reading its location later is not), but a window * closed by the user in the meantime will throw. */ export declare const navigateBuyPopup: (popup: Window, url: string) => boolean;