import { CommonNip19DecodeResult, CommonNip19EncodeInput, CommonNip19EncodeResult, CommonActionResult, CommonFollowsResult, CommonProfileTarget, CommonProfileResult, CommonReaction, CommonReportTarget, CommonReportReason } from '@napplet/core'; /** * Napplet NAP common sdk entrypoint. * * @module */ /** * Encode a supported public NIP-19 value. * @param input Structured NIP-19 encode input * @returns Promise resolving to the shell encode result */ declare function commonEncodeNip19(input: CommonNip19EncodeInput): Promise; /** * Decode a supported public NIP-19 value. * @param value NIP-19 value to decode * @returns Promise resolving to normalized decoded fields */ declare function commonDecodeNip19(value: string): Promise; /** * Resolve a profile by hex pubkey, npub, or nprofile. * @param target Profile target * @returns Promise resolving to latest profile data when available */ declare function commonGetProfile(target: CommonProfileTarget): Promise; /** * Return the shell user's followed pubkeys as hex. * @returns Promise resolving to followed pubkeys */ declare function commonFollows(): Promise; /** * Ask the shell to follow one or more npub targets. * @param pubkeys Npub targets to follow * @returns Promise resolving to the action result */ declare function commonFollow(...pubkeys: string[]): Promise; /** * Ask the shell to unfollow one or more npub targets. * @param pubkeys Npub targets to unfollow * @returns Promise resolving to the action result */ declare function commonUnfollow(...pubkeys: string[]): Promise; /** * React to a native Nostr event. * @param targetEventId Event id to react to * @param reaction Reaction content * @param customEmojiHref Optional custom emoji URL * @returns Promise resolving to the action result */ declare function commonReact(targetEventId: string, reaction: CommonReaction, customEmojiHref?: string): Promise; /** * Report an event or pubkey with a NIP-56 reason. * @param target Structured report target * @param reason NIP-56 report reason * @param text Report text * @returns Promise resolving to the action result */ declare function commonReport(target: CommonReportTarget, reason: CommonReportReason, text: string): Promise; export { commonDecodeNip19, commonEncodeNip19, commonFollow, commonFollows, commonGetProfile, commonReact, commonReport, commonUnfollow };