Function encodeDecodeResult
encodeDecodeResult( result: DecodeResult,): | "" | `nprofile1${string}` | `nevent1${string}` | `naddr1${string}` | `nsec1${string}` | `npub1${string}` | `note1${string}` Returns
| ""
| `nprofile1${string}`
| `nevent1${string}`
| `naddr1${string}`
| `nsec1${string}`
| `npub1${string}`
| `note1${string}`
Encodes the result of nip19.decode