import { isSVGElement } from "./index242.js";
import { isSVGSVGElement } from "./index246.js";
import { visualElementStore } from "./index249.js";
import { HTMLVisualElement } from "./index272.js";
import { ObjectVisualElement } from "./index273.js";
import { SVGVisualElement } from "./index280.js";
//#region node_modules/framer-motion/dist/es/animation/utils/create-visual-element.mjs
function createDOMVisualElement(element) {
	const options = {
		presenceContext: null,
		props: {},
		visualState: {
			renderState: {
				transform: {},
				transformOrigin: {},
				style: {},
				vars: {},
				attrs: {}
			},
			latestValues: {}
		}
	};
	const node = isSVGElement(element) && !isSVGSVGElement(element) ? new SVGVisualElement(options) : new HTMLVisualElement(options);
	node.mount(element);
	visualElementStore.set(element, node);
}
function createObjectVisualElement(subject) {
	const node = new ObjectVisualElement({
		presenceContext: null,
		props: {},
		visualState: {
			renderState: { output: {} },
			latestValues: {}
		}
	});
	node.mount(subject);
	visualElementStore.set(subject, node);
}
//#endregion
export { createDOMVisualElement, createObjectVisualElement };

//# sourceMappingURL=index371.js.map