interface UseStreamingOptions {
    enableStreaming?: boolean;
    onStreamData?: (data: {
        content: string;
        isEnd: boolean;
        messageIndex: number;
        accumulatedContent: string;
        raw?: any;
    }) => void;
}
export declare function useStreaming(options?: UseStreamingOptions): {
    isStreaming: import("vue").Ref<boolean, boolean>;
    currentStreamingMessageIndex: import("vue").Ref<number | null, number | null>;
    accumulatedContent: import("vue").Ref<string, string>;
    currentStreamingId: import("vue").Ref<number | null, number | null>;
    handleStreamResponse: (response: Response, messageIndex: number) => Promise<void>;
    processStreamChunk: (chunk: string, messageIndex: number, streamingId: number) => Promise<void>;
    removeDataPrefix: (inputString: string) => string;
    startStreaming: (messageIndex: number) => void;
    stopStreaming: () => void;
    isCurrentlyStreaming: () => boolean;
    getCurrentStreamingId: () => number | null;
};
export {};
//# sourceMappingURL=useStreaming.d.ts.map