import * as apid from '../../../../api' ; export default interface IRuleManageModel { add ( rule ) : Promise < apid . RuleId > ; update ( rule ) : Promise < void > ; enable ( ruleId ) : Promise < void > ; disable ( ruleId ) : Promise < void > ; delete ( ruleId ) : Promise < void > ; deletes ( ruleIds ) : Promise < apid . RuleId [ ] > ; }