export declare type UseDecodeAnimationProps = {
    value: string;
    interval: number;
    onFinish?: Function;
};
export declare type UseDecodeAnimationType = (props: UseDecodeAnimationProps) => {
    text: string;
    currentIndex: number;
    state: DecodeState;
    play: Function;
    pause: Function;
    reset: Function;
};
export declare type DecodeState = "Playing" | "Paused" | "Reset";
declare const useDecodeAnimation: UseDecodeAnimationType;
export default useDecodeAnimation;
