import type { _NSData } from "../Foundation/NSData.js";
import type { _NSObject } from "../Foundation/NSObject.js";
import type { _NSSecureCoding } from "../Foundation/NSSecureCoding.js";
import type { _MEDecodedMessageBanner } from "./MEDecodedMessageBanner.js";
import type { _MEMessageSecurityInformation } from "./MEMessageSecurityInformation.js";
export declare class _MEDecodedMessage extends _NSObject {
    static alloc(): _MEDecodedMessage;
    static new(): _MEDecodedMessage;
    init(): _MEDecodedMessage;
    initWithData$securityInformation$context$(rawData: _NSData | null, securityInformation: _MEMessageSecurityInformation, context: _NSData | null): _MEDecodedMessage;
    initWithData$securityInformation$context$banner$(rawData: _NSData | null, securityInformation: _MEMessageSecurityInformation, context: _NSData | null, banner: _MEDecodedMessageBanner | null): _MEDecodedMessage;
    /**
     * The decoded MIME data for the message The decoded data should not be encrypted or contain any signatures that were decoded. The here should only contain MIME parts that a standard email parser can decode without needing to decrypt. All information on the encryption and signature status should be defined in If the message is unable to be decrypted this should be left nil and an error message will be displayed to the user.
     */
    rawData(): _NSData | null;
    /**
     * The security information for whether or not the message was signed, encrypted, or had an errors in decoding.
     */
    securityInformation(): _MEMessageSecurityInformation;
    /**
     * The context for the decoded message. This will be passed back to the extension when Mail loads the extension's custom view controller for the message.
     */
    context(): _NSData | null;
    /**
     * Suggestion information used to populate a suggestion banner at the top of the message view. Clicking on the action associated with the suggestion banner will present the extension's view controller for the provided message context.
     */
    banner(): _MEDecodedMessageBanner | null;
}
export interface _MEDecodedMessage extends _NSSecureCoding {
}
