/** * Allow the user to login * * @param username - username to login with * @param password - password to login with * @returns true if successful */ export declare const login: (username: string, password: string) => Promise; /** * Allow the user to login with outh * * @param provider - provider to login with * @param isPopup - check if in popup * @returns true if successful */ export declare const oauth: (provider: string, isPopup?: boolean) => Promise; /** * Allow the user to logout * * @returns true if successful */ export declare const logout: () => Promise;