import { User } from '../entities/User';
import { EmailAddress } from '../value-objects/EmailAddress';

/**
 * Domain Repository: AuthRepository
 *
 * Repository interface for authentication operations.
 */
export interface AuthRepository {
  /**
   * Find user by email
   */
  findByEmail(email: EmailAddress): Promise<User | null>;

  /**
   * Save a user
   */
  save(user: User): Promise<void>;
}