//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_protocol!(
/// Methods in this protocol can be used by a mail app extension to block content in mail messages.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/mailkit/mecontentblocker?language=objc)
pub unsafe trait MEContentBlocker: NSObjectProtocol {
/// This is invoked when Mail configures its
/// `WKWebViewConfiguration`or if the extension is enabled. The returned data should contain UTF8 encoded String data with the filter list.
#[unsafe(method(contentRulesJSON))]
#[unsafe(method_family = none)]
unsafe fn contentRulesJSON(&self) -> Retained<NSData>;
}
);