export interface IEncryptionEventDetail {
    /**
     * The data to export
     */
    data: unknown;
    /**
     * The passphrase to use in 2-way data encryption
     */
    passphrase: string;
    /**
     * Encryption method to use
     */
    method: string;
}
export declare class EncryptionEvents {
    /**
     * Dispatches an event handled by the encryption module to encrypt the data
     *
     * @param data The data to encrypt
     * @param passphrase The passphrase to use in 2-way data encryption
     * @param method Encryption method to use
     * @param target A node on which to dispatch the event.
     * @returns Promise resolved to the encryption result
     */
    static encrypt(data: unknown, passphrase: string, method: string, target?: EventTarget): Promise<string | undefined>;
    /**
     * Dispatches an event handled by the encryption module to decrypt the data
     *
     * @param data The data to decrypt
     * @param passphrase The passphrase to use to decrypt the data
     * @param method Method used to encrypt the data
     * @param target A node on which to dispatch the event.
     * @returns Promise resolved to the decrypted result
     */
    static decrypt(data: unknown, passphrase: string, method: string, target?: EventTarget): Promise<string | undefined>;
}
//# sourceMappingURL=EncryptionEvents.d.ts.map