export type AuthType = 'email' | 'phone';

export type AuthMode = 'register' | 'login';

export type AuthStep =
  | 'emailOrPhone'
  | 'verify'
  | 'enterPassword'
  | 'addPhoneNumber'
  | 'addedPhoneNumberVerify';

export interface AuthFactory {
  clientId: string;
  redirectUrl: string;
  isCurrentApplication: () => boolean;
  getFullRedirectUrl: (token: string) => string;
}
