import { type EventBuilder, type NostrEvent, NostrLink, type Thread } from "../index"; export declare class Nip22 { /** * Get the root scope tag (E/A/I) or * create a root scope tag from the provided event */ static rootScopeOf(other: NostrEvent): NostrLink; static replyTo(other: NostrEvent, eb: EventBuilder): void; /** * Parse NIP-22 comment thread structure * NIP-22 uses uppercase tags (E/A/I) for root and lowercase (e/a/i) for parent */ static parseThread(ev: NostrEvent): Thread | undefined; /** * Parse a NIP-22 thread from a parsed set of tag links */ static fromLinks(links: Array, ev: NostrEvent): Thread | undefined; /** * Create a NIP-22 tag from an object link * NIP-22 uses uppercase tags (E/A/P) for root scope and lowercase (e/a/p) for reply/mention */ static linkToTag(link: NostrLink): string[]; } //# sourceMappingURL=nip22.d.ts.map