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