import Foundation

public protocol ComposeApi {
    func request(funcName: String, params: Any, _ completion: ((String) -> Void)?)
    func request(funcName: String, params: Any) -> String
}

// Default implementation
public class ComposeApiImpl: ComposeApi {
    public static let shared = ComposeApiImpl()
    
    private init() {}
    
    public func request(funcName: String, params: Any, _ completion: ((String) -> Void)?) {
        // Implement your API request logic here
    }
    
    public func request(funcName: String, params: Any) -> String {
        // Implement your API request logic here
        return ""
    }
} 