//
//  PluginManagerControlFlowProtocol.swift
//  ZappApple
//
//  Created by Anton Kononenko on 1/24/20.
//

import Foundation
import ZappCore

public typealias PluginManagerCompletion = ((_ success: Bool) -> Void)?

protocol PluginManagerControlFlowProtocol {
    func isProviderEnabled(identifier: String) -> Bool
    func getProviderInstance(identifier: String) -> PluginAdapterProtocol?
    func getProviderInstance(condition: (Any) -> Any?) -> PluginAdapterProtocol?
}
