import { NostrEvent } from '../nodes/shared/types';
export declare class NIP04 {
    static encrypt(privateKey: string, publicKey: string, text: string): Promise<string>;
    static decrypt(privateKey: string, publicKey: string, encryptedText: string): Promise<string>;
    static createEncryptedEvent(recipientPubkey: string, content: string, privateKey: string): Promise<NostrEvent>;
    static decryptEvent(event: NostrEvent, privateKey: string): Promise<string>;
    static getDMFilter(pubkey: string, otherPubkey?: string): any;
}
