import { IEmbeddable } from '../../../../../src/plugins/embeddable/public' ; import { EnhancedEmbeddable } from '../types' ; export const isEnhancedEmbeddable = < E > ( maybeEnhancedEmbeddable ) : maybeEnhancedEmbeddable is EnhancedEmbeddable < E extends IEmbeddable ? E : never > => typeof ( maybeEnhancedEmbeddable as EnhancedEmbeddable < E extends IEmbeddable ? E : never > ) ?. enhancements ?. dynamicActions === 'object' ;