/*! * @thednp/tween composables for Vue v0.1.5 (https://github.com/thednp/tween) * Copyright 2026 © thednp * Licensed under MIT (https://github.com/thednp/tween/blob/master/LICENSE) */ "use strict"; import { Timeline, Tween, TweenProps } from "@thednp/tween"; //#region src/vue/miniStore.d.ts /** * Creates a reactive store for the given initial values, where every * property is backed by a Vue `ref`. Reading a property inside a * component tracks the ref; writing it (e.g. by the tween update loop) * triggers reactivity. * * @template T - The type of the state object * @param init - The initial values object * @returns The reactive state object */ declare function miniStore(init: T): T; //#endregion //#region src/vue/index.d.ts /** * Vue composable for updating values with Tween. * * @param initialValues - Initial tween values * @returns [store, tween] Tuple of reactive store and Tween instance * * @example * * */ declare function useTween(initialValues: T): readonly [T, Tween]; /** * Vue composable for sequencing values update with Timeline. * * @param initialValues - Initial tween values * @returns [store, timeline] Tuple of reactive store and Timeline instance * * @example * * * */ declare function useTimeline(initialValues: T): readonly [T, Timeline]; //#endregion export { Timeline, Tween, miniStore, useTimeline, useTween }; //# sourceMappingURL=vue.d.mts.map