import Foundation
import SwiftUI
import Combine

@MainActor
class AuthenticationViewModel: ObservableObject {
    @Published var password: String = ""
    @Published var isPasswordVisible: Bool = false

    var isPasswordValid: Bool {
        !password.isEmpty
    }

    func clearPassword() {
        password = ""
    }
}
