import { Action } from '@ngrx/store'; import { DxUser } from '@digitaix/types'; export declare enum AuthActionTypes { Login = "[Auth] Login", Logout = "[Auth] Logout", SignUp = "[Auth] SignUp", ResetPassword = "[Auth] ResetPassword", LoginWithGoogle = "[Auth] Login With Google", LoginWithFacebook = "[Auth] Login With Facebook", LoginWithTwitter = "[Auth] Login With Twitter", LoginWithGithub = "[Auth] Login With Github", ApplyAuthCode = "[Auth] Apply Auth Code", LoginSuccessful = "[Auth] Login Successful", LoginFailed = "[Auth] Login Failed" } export declare class SendPasswordReset implements Action { password: string; token: string; static TYPE: string; readonly type: string; constructor(password: string, token: string); } export declare class LoginSuccessful implements Action { readonly type = AuthActionTypes.LoginSuccessful; } export declare class LoginFailed implements Action { readonly type = AuthActionTypes.LoginFailed; } export declare class AuthEffectsInit implements Action { static TYPE: string; readonly type: string; constructor(); } export declare class ApplyAuthCode implements Action { oobCode: string; readonly type = AuthActionTypes.ApplyAuthCode; constructor(oobCode: string); } export declare class ResetPassword implements Action { email: string; readonly type = AuthActionTypes.ResetPassword; constructor(email: string); } export declare class Login implements Action { email: string; password: string; readonly type = AuthActionTypes.Login; constructor(email: string, password: string); } export declare class LoginWithGoogle implements Action { readonly type = AuthActionTypes.LoginWithGoogle; } export declare class LoginWithFacebook implements Action { readonly type = AuthActionTypes.LoginWithFacebook; } export declare class LoginWithTwitter implements Action { readonly type = AuthActionTypes.LoginWithTwitter; } export declare class LoginWithGithub implements Action { readonly type = AuthActionTypes.LoginWithGithub; } export declare class Logout implements Action { readonly type = AuthActionTypes.Logout; } export declare class SignUp implements Action { email: string; password: string; readonly type = AuthActionTypes.SignUp; constructor(email: string, password: string); } export declare type AuthActions = Login | Logout | SignUp | ResetPassword;