import 'package:fpdart/fpdart.dart'; import 'package:hiddify/domain/clash/clash.dart'; import 'package:hiddify/domain/constants.dart'; import 'package:hiddify/domain/core_service_failure.dart'; abstract class ClashFacade { TaskEither getConfigs(); TaskEither patchOverrides(ClashConfig overrides); TaskEither> getProxies(); TaskEither changeProxy( String selectorName, String proxyName, ); TaskEither testDelay( String proxyName, { String testUrl = Defaults.delayTestUrl, }); Stream> watchTraffic(); }