import type { KibanaFeatureConfig } from '../../../../features/common' ; import type { Space } from '../../../common' ; export function getEnabledFeatures ( features , space ) { return features . filter ( ( feature ) => ! ( space . disabledFeatures || [ ] ) . includes ( feature . id ) ) ; }