import { DynamicComponentAPI } from '../types/transformer'; export const DYNAMIC_COMPONENTS = Object.values(DynamicComponentAPI); export const DOM_ROOT = ['document', 'window', 'body']; export const DOM_MANIPULATORS = [ 'append', 'appendChild', 'createElement', 'querySelector', 'querySelectorAll', 'getElementById', 'getElementsByClassName', 'getElementsByName', 'getElementsByTagName', 'getElementByTagNameNS', 'attachShadow', 'insertAdjacentElement', 'insertAdjacentHTML', 'insertAdjacentText', 'prepend', 'remove', 'removeChild', 'removeAttribute', 'removeAttributeNode', 'removeAttributeNS', 'replaceChildren', 'replaceWith', 'setAttribute', 'setAttributeNode', 'setAttributeNodeNS', 'setAttributeNS', 'setHTML', 'toggleAttribute', ];