import { ObservabilityRuleTypeRegistry } from './create_observability_rule_type_registry' ; const createRuleTypeRegistryMock = ( ) => ( { getFormatter : ( ) => ( ) => 'a reason' , registerFormatter : ( ) => { } , } ) ; export const createObservabilityRuleTypeRegistryMock = ( ) => createRuleTypeRegistryMock ( ) as ObservabilityRuleTypeRegistry & ReturnType < typeof createRuleTypeRegistryMock > ;