import type { SavedObjectTypeRegistry } from 'src/core/server' ; /**
 * This function returns any importable/exportable saved object types that are namespace-agnostic. Even if these are eligible for
 * import/export, we should not include them in the copy operation because it will result in a conflict that needs to overwrite itself to be
 * resolved.
 */ export function getIneligibleTypes ( typeRegistry ) { return typeRegistry . getImportableAndExportableTypes ( ) . filter ( ( type ) => typeRegistry . isNamespaceAgnostic ( type . name ) ) . map ( ( type ) => type . name ) ; }