nip04: {
    decrypt: (pubkey: string, secret: string, m: string) => Promise<string>;
    detect: (m: string) => boolean;
    encrypt: (pubkey: string, secret: string, m: string) => Promise<string>;
} = ...