import Foundation @MainActor protocol LeadRepository { func leads(for salesCode: String, query: LeadQuery) async throws -> [Lead] func lead(id: String, salesCode: String) async throws -> Lead func setBookmark(_ bookmarked: Bool, leadID: String, salesCode: String) async throws -> Lead }