diff --git a/index.d.ts b/index.d.ts index ac26130..adbc6a7 100644 --- a/index.d.ts +++ b/index.d.ts @@ -104,7 +104,8 @@ declare type RelayPool = { declare function relayPool(): RelayPool; // nip04.js - +declare function decrypt(privkey: string, pubkey: string, ciphertext: string): string; +declare function encrypt(privkey: string, pubkey: string, text: string): string; // nip05.js // nip06.js