/** * Retrieve the authenticated username. */ export declare function authenticatedUsername(): Promise; /** * Deauthenticate. * * Removes the stored UCAN we got from a lobby. */ export declare function deauthenticate(): Promise; /** * Redirects to a lobby. * * NOTE: Only works on the main thread, as it uses `window.location`. * * @param returnTo Specify the URL you want users to return to. * Uses the current url by default. */ export declare function redirectToLobby(returnTo?: string): Promise;