import { useEffect } from "react";
export function useAgentQueuedPromptReset(input) {
    const { agentId, isLocalOnlyDraftAgent, replaceQueuedPrompts } = input;
    useEffect(() => {
        if (!agentId || isLocalOnlyDraftAgent) {
            replaceQueuedPrompts([]);
        }
    }, [agentId, isLocalOnlyDraftAgent, replaceQueuedPrompts]);
}
//# sourceMappingURL=useAgentQueuedPromptReset.js.map