export interface StreamChunk { id: number; text: string; } type Chunk = StreamChunk; interface StreamViewerProps { streamId: string; chunks: Chunk[]; isLive: boolean; error?: string | null; /** True while the initial stream connection is being established */ isLoading?: boolean; /** Called when the user scrolls near the bottom, for triggering pagination */ onScrollEnd?: () => void; } /** * StreamViewer component that displays real-time stream data. * Each chunk is rendered with DataInspector for proper display * of complex types (Map, Set, Date, custom classes, etc.). */ export declare function StreamViewer({ streamId: _streamId, chunks, isLive, error, isLoading, onScrollEnd, }: StreamViewerProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=stream-viewer.d.ts.map