import { type AuthorizeResponse } from '../types/auth'; import { type PopupSDK, type PopupOptions } from '../types/authentication'; /** * Authentication using a popup window. * Should be called inside a click handler to avoid being blocked by the browser. */ export default class Popup { options: PopupOptions; private sdk; constructor(sdk: PopupSDK, options: PopupOptions); authorize(): Promise; }