import type { _MEMessage } from "./MEMessage.js";
import type { _MEMessageActionDecision } from "./MEMessageActionDecision.js";
import type { _NSArray } from "../Foundation/NSArray.js";
export interface _MEMessageActionHandler {
    /**
     * This is invoked when a message is downloaded. The action set in the completion handler will be performed on the message. Depending on if the full body of the message has been downloaded the provided might have the full body data. If the full body is not present the property can be set to and this method will be invoked again once the full body is available. - The message for which the action will be performed. Might or might not contain the full message body data.
     */
    decideActionForMessage$completionHandler$?(message: _MEMessage, completionHandler: ((decision: _MEMessageActionDecision) => void) | null): void;
    /**
     * Provide additional headers that the extension requires to perform an action. Mail will fetch these additional headers before invoking For example, extensions can return the headers that were set in An array of header keys. Mail will normalize the headers to lower case before fetching them from the mail server.
     */
    requiredHeaders?(): _NSArray;
}
