/**
 * Creates a function to reset all streaming-related state.
 * Used to clean up after streaming responses complete or error.
 */
export const createResetStreamingState = (setIsCancelling, setAbortController, setIsGenerating, setStreamingContent, setTokenCount) => {
    return () => {
        setIsCancelling(false);
        setAbortController(null);
        setIsGenerating(false);
        setStreamingContent('');
        setTokenCount(0);
    };
};
//# sourceMappingURL=streaming-state.js.map