interface Tool { type: string; extra: { source: string; pluginName: string; data: string; status: string; }; } export declare const convertChunkToJson: (rawData: string) => string | { tools: Tool[]; message: string; }; export declare const handleStream: (response: Response) => Promise; export {};