import type { User } from '@bounded-sh/core'; import { type BoundedWidgetOptions } from './bounded-login-widget'; /** * Return the restored user or open the Bounded sign-in widget when signed out. * * Calls made while init() is restoring a stored session wait for that work first. * Concurrent calls share one attempt, so repeated clicks cannot open competing * auth flows. If initialization fails, its original error is preserved. */ export declare function ensureSignedIn(options?: BoundedWidgetOptions): Promise;