import { PublisherPlugin , NotifierPlugin , NotifyParams , KeyGeneratorPlugin , PublishResult , PluginCreateOptions , PublisherPluginFactory , KeyGeneratorPluginFactory , NotifierPluginFactory , } from "reg-suit-interface" ; class DummyPlugin implements PublisherPlugin < null > , KeyGeneratorPlugin < null > , NotifierPlugin < null > { init ( _config ) { } getExpectedKey ( ) { return Promise . resolve ( "expected" ) ; } fetch ( _key ) { return Promise . resolve ( "fetch" ) ; } getActualKey ( ) { return Promise . resolve ( "actual" ) ; } publish ( _key ) { return Promise . resolve ( { reportUrl : "" } ) ; } notify ( _params ) { return Promise . resolve ( "notify" ) ; } } const factory = ( ) => { const p = new DummyPlugin ( ) ; return { keyGenerator : p , notifier : p , publisher : p , } ; } ; export = factory ;