import { Ref } from "vue";
/**
 * @description Manages the life cycle of animations that are executed according to changes in char values
 * @param char This is the target value, and the animation runs when the value changes.
 * @param charSet A set of target values, rolled according to the order of the list
 * @param duration animation duration
 */
export default function useAnimationManager(char: Ref<string>, defaultChar: Ref<string>, charSet: Ref<string[]>, duration: Ref<number>): {
    isReady: Ref<boolean>;
    isEnd: Ref<boolean>;
    targetIdx: import("vue").ComputedRef<number>;
    prevTargetIdx: Ref<number>;
};
