interface UseJsonStreamOptions<T extends z.ZodType> {
schema: T; // Zod schema for validation
onReceive?: (data: any) => void; // Progressive update handler
onComplete?: (data: any) => void; // Stream completion handler
onError?: (error: Error) => void; // Error handler
debug?: boolean; // Enable debug logging
}