import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
import { getExtensionKeyAndNodeKey } from './manifest-helpers';
export function getExtensionManifest(extensionProvider, extensionType, extensionKey
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Generic extension types; any required for provider compatibility
) {
  var _getExtensionKeyAndNo = getExtensionKeyAndNodeKey(extensionKey, extensionType),
    _getExtensionKeyAndNo2 = _slicedToArray(_getExtensionKeyAndNo, 1),
    extKey = _getExtensionKeyAndNo2[0];
  return extensionProvider.getExtension(extensionType, extKey);
}