import type { AlpineInstance } from "./types"; import type { computed as vueComputed, inject as vueInject, isRef as vueIsRef, mergeProps as vueMergeProps, nextTick as vueNextTick, provide as vueProvide, reactive as vueReactive, readonly as vueReadonly, ref as vueRef, shallowRef as vueShallowRef, toRaw as vueToRaw, toRef as vueToRef, toRefs as vueToRefs, unref as vueUnref, watch as vueWatch, watchEffect as vueWatchEffect } from 'vue'; /** Public API of vue-reactivity that's fulfilled by alpine-composition */ export interface ReactivityAPI { computed: typeof vueComputed; inject: typeof vueInject; isRef: typeof vueIsRef; mergeProps: typeof vueMergeProps; nextTick: typeof vueNextTick; provide: typeof vueProvide; reactive: typeof vueReactive; readonly: typeof vueReadonly; ref: typeof vueRef; shallowRef: typeof vueShallowRef; toRaw: typeof vueToRaw; toRef: typeof vueToRef; toRefs: typeof vueToRefs; unref: typeof vueUnref; watch: typeof vueWatch; watchEffect: typeof vueWatchEffect; onBeforeMount: (cb: () => void) => void; onMounted: (cb: () => void) => void; onBeforeUnmount: (cb: () => void) => void; onUnmounted: (cb: () => void) => void; onBeforeUpdate: (cb: () => void) => void; onUpdated: (cb: () => void) => void; onActivated: (cb: () => void) => void; onDeactivated: (cb: () => void) => void; } export declare const createReactivityAPI: (instance: AlpineInstance) => ReactivityAPI;