import { useRef } from "react";
import { InputHistory } from "../history.js";
export function useInputHistory(limit = 100) {
    const ref = useRef(null);
    ref.current ??= new InputHistory(limit);
    return ref.current;
}
