import { setReactivityEngine, disableEffectScheduling, reactive, effect, release, raw } from './reactivity' import { mapAttributes, directive, setPrefix as prefix, prefix as prefixed } from './directives' import { start, addRootSelector, addInitSelector, closestRoot, findClosest, initTree, destroyTree, interceptInit } from './lifecycle' import { mutateDom, deferMutations, flushAndStopDeferringMutations, startObservingMutations, stopObservingMutations } from './mutation' import { mergeProxies, closestDataStack, addScopeToNode, scope as $data } from './scope' import { setEvaluator, evaluate, evaluateLater, dontAutoEvaluateFunctions } from './evaluator' import { transition } from './directives/x-transition' import { clone, skipDuringClone, onlyDuringClone } from './clone' import { interceptor } from './interceptor' import { getBinding as bound } from './utils/bind' import { debounce } from './utils/debounce' import { throttle } from './utils/throttle' import { setStyles } from './utils/styles' import { nextTick } from './nextTick' import { walk } from './utils/walk' import { plugin } from './plugin' import { magic } from './magics' import { store } from './store' import { bind } from './binds' import { data } from './datas' let Alpine = { get reactive() { return reactive }, get release() { return release }, get effect() { return effect }, get raw() { return raw }, version: ALPINE_VERSION, flushAndStopDeferringMutations, dontAutoEvaluateFunctions, disableEffectScheduling, startObservingMutations, stopObservingMutations, setReactivityEngine, closestDataStack, skipDuringClone, onlyDuringClone, addRootSelector, addInitSelector, addScopeToNode, deferMutations, mapAttributes, evaluateLater, interceptInit, setEvaluator, mergeProxies, findClosest, closestRoot, destroyTree, interceptor, // INTERNAL: not public API and is subject to change without major release. transition, // INTERNAL setStyles, // INTERNAL mutateDom, directive, throttle, debounce, evaluate, initTree, nextTick, prefixed, prefix, plugin, magic, store, start, clone, bound, $data, walk, data, bind, } export default Alpine