import { useRef } from "react";
export function useAgentTerminalElementRefs() {
    const refs = useRef(null);
    if (!refs.current) {
        refs.current = {
            messagesEndRef: { current: null },
            textareaRef: { current: null },
            documentListRef: { current: null },
            placeholderInputRef: { current: null },
            promptPlaceholderInputRef: { current: null },
            shouldSubmitFilledPlaceholderInputRef: { current: false },
            inlineDialogContainerRef: { current: null },
        };
    }
    return refs.current;
}
//# sourceMappingURL=useAgentTerminalElementRefs.js.map