import { AuthActionType } from './enums'; export interface AuthState { token: string; locale: string; loading: boolean; threshold: number; loginError: string; logoutError: string; signupError: string; refreshToken: string; passwordResetError: string; [x: string]: any; } export interface AuthAction { type: AuthActionType; payload?: Partial; }