export interface LoginOptions { onLoggedOut?: () => Promise } export interface LoginReturn { isLoggedIn: boolean userName: string }