UNPKG

bigblocks

Version:

Complete Bitcoin UI component library - authentication, social, wallet, market, inscriptions, and blockchain interactions for React

25 lines 716 B
import type { UseMetaLensReturn } from "../types/index.js"; /** * Main MetaLens hook for posting and fetching comments * * Based on patterns from: * - /Users/satchmo/code/metalens-web/src_old/models/comment.js * - /Users/satchmo/code/metalens.app/CLAUDE.md (protocol details) * * @example * ```tsx * const { postComment, getComments } = useMetaLens(); * * // Post a comment * const txid = await postComment({ * context: 'url', * value: 'https://example.com', * content: 'Great article!' * }); * * // Get comments * const comments = await getComments('url', 'https://example.com'); * ``` */ export declare function useMetaLens(): UseMetaLensReturn; //# sourceMappingURL=useMetaLens.d.ts.map