bigblocks
Version:
Complete Bitcoin UI component library - authentication, social, wallet, market, inscriptions, and blockchain interactions for React
17 lines • 689 B
TypeScript
import type { MetaLensContextType, StreamOptions, UseMetaLensStreamReturn } from "../types/index.js";
/**
* Hook for real-time MetaLens comment streaming
*
* Based on patterns from:
* - MetaLens browser extension EventSource implementation
* - /Users/satchmo/code/metalens.app/CLAUDE.md (real-time features)
*
* @example
* ```tsx
* const { comments, loading, error } = useMetaLensStream('url', 'https://example.com');
*
* // Comments will update in real-time as new ones are posted
* ```
*/
export declare function useMetaLensStream(context: MetaLensContextType, value: string, options?: StreamOptions): UseMetaLensStreamReturn;
//# sourceMappingURL=useMetaLensStream.d.ts.map