import Foundation
import ComposeApp

// MARK: - Token Storage Protocol

/// Protocol for token storage to enable testing
protocol TokenStorageProtocol {
    func getToken() -> String?
    func saveToken(token: String)
    func clearToken()
}

// Make TokenStorage conform
extension TokenStorage: TokenStorageProtocol {}

// Note: ViewModel protocols are defined but not enforced via extension conformance
// because the Kotlin-generated API has different parameter labels than what Swift expects.
// The protocols serve as documentation of the expected interface.
// For actual DI, use the concrete Kotlin types with optional initializer parameters.
