import { ShallowRef } from 'vue'; /** * This composable integrates reactive values into the vue reactivity system. * From within `compute`, you can reference any reactive values and return some derived value. * That value will refresh (for your vue component) whenever any of its reactive dependencies change. * * Because `compute` may be called very often (if there are many updates), it should be fast. * * @param compute A function that may access reactive data and returns some derived result. * @typeParam T The return type of `compute`. * @returns A readonly vue reference (the snapshot). `snapshot.value` is the current value of `compute()`. */ declare function useReactiveSnapshot(compute: () => T): Readonly>; export { useReactiveSnapshot };