import { type Message } from '@microsoft/msgraph-beta-sdk/models/';
import { type AttachmentsRequestBuilder } from './attachments/';
import { type CopyRequestBuilder } from './copy/';
import { type CreateForwardRequestBuilder } from './createForward/';
import { type CreateReplyRequestBuilder } from './createReply/';
import { type CreateReplyAllRequestBuilder } from './createReplyAll/';
import { type ExtensionsRequestBuilder } from './extensions/';
import { type ForwardRequestBuilder } from './forward/';
import { type MarkAsJunkRequestBuilder } from './markAsJunk/';
import { type MarkAsNotJunkRequestBuilder } from './markAsNotJunk/';
import { type MentionsRequestBuilder } from './mentions/';
import { type MoveRequestBuilder } from './move/';
import { type ReplyRequestBuilder } from './reply/';
import { type ReplyAllRequestBuilder } from './replyAll/';
import { type SendRequestBuilder } from './send/';
import { type UnsubscribeRequestBuilder } from './unsubscribe/';
import { type ContentRequestBuilder } from './value/';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
 * Provides operations to manage the messages property of the microsoft.graph.user entity.
 */
export interface MessageItemRequestBuilder extends BaseRequestBuilder<MessageItemRequestBuilder> {
    /**
     * Provides operations to manage the attachments property of the microsoft.graph.message entity.
     */
    get attachments(): AttachmentsRequestBuilder;
    /**
     * Provides operations to manage the media for the user entity.
     */
    get content(): ContentRequestBuilder;
    /**
     * Provides operations to call the copy method.
     */
    get copy(): CopyRequestBuilder;
    /**
     * Provides operations to call the createForward method.
     */
    get createForward(): CreateForwardRequestBuilder;
    /**
     * Provides operations to call the createReply method.
     */
    get createReply(): CreateReplyRequestBuilder;
    /**
     * Provides operations to call the createReplyAll method.
     */
    get createReplyAll(): CreateReplyAllRequestBuilder;
    /**
     * Provides operations to manage the extensions property of the microsoft.graph.message entity.
     */
    get extensions(): ExtensionsRequestBuilder;
    /**
     * Provides operations to call the forward method.
     */
    get forward(): ForwardRequestBuilder;
    /**
     * Provides operations to call the markAsJunk method.
     */
    get markAsJunk(): MarkAsJunkRequestBuilder;
    /**
     * Provides operations to call the markAsNotJunk method.
     */
    get markAsNotJunk(): MarkAsNotJunkRequestBuilder;
    /**
     * Provides operations to manage the mentions property of the microsoft.graph.message entity.
     */
    get mentions(): MentionsRequestBuilder;
    /**
     * Provides operations to call the move method.
     */
    get move(): MoveRequestBuilder;
    /**
     * Provides operations to call the reply method.
     */
    get reply(): ReplyRequestBuilder;
    /**
     * Provides operations to call the replyAll method.
     */
    get replyAll(): ReplyAllRequestBuilder;
    /**
     * Provides operations to call the send method.
     */
    get send(): SendRequestBuilder;
    /**
     * Provides operations to call the unsubscribe method.
     */
    get unsubscribe(): UnsubscribeRequestBuilder;
    /**
     * Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message.
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @throws {ODataError} error when the service returns a 4XX or 5XX status code
     * @see {@link https://learn.microsoft.com/graph/api/message-delete?view=graph-rest-1.0|Find more info here}
     */
    delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
    /**
     * The messages in a mailbox or folder. Read-only. Nullable.
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {Promise<Message>}
     * @throws {ODataError} error when the service returns a 4XX or 5XX status code
     * @see {@link https://learn.microsoft.com/graph/api/eventmessage-get?view=graph-rest-1.0|Find more info here}
     */
    get(requestConfiguration?: RequestConfiguration<MessageItemRequestBuilderGetQueryParameters> | undefined): Promise<Message | undefined>;
    /**
     * Update the properties of a message object.
     * @param body The request body
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {Promise<Message>}
     * @throws {ODataError} error when the service returns a 4XX or 5XX status code
     * @see {@link https://learn.microsoft.com/graph/api/message-update?view=graph-rest-1.0|Find more info here}
     */
    patch(body: Message, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Message | undefined>;
    /**
     * Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message.
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {RequestInformation}
     */
    toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
    /**
     * The messages in a mailbox or folder. Read-only. Nullable.
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {RequestInformation}
     */
    toGetRequestInformation(requestConfiguration?: RequestConfiguration<MessageItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
    /**
     * Update the properties of a message object.
     * @param body The request body
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {RequestInformation}
     */
    toPatchRequestInformation(body: Message, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
 * The messages in a mailbox or folder. Read-only. Nullable.
 */
export interface MessageItemRequestBuilderGetQueryParameters {
    /**
     * Expand related entities
     */
    expand?: string[];
    /**
     * Include Hidden Messages
     */
    includeHiddenMessages?: string;
    /**
     * Select properties to be returned
     */
    select?: string[];
}
/**
 * Uri template for the request builder.
 */
export declare const MessageItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/messages/{message%2Did}{?%24expand,%24select,includeHiddenMessages*}";
/**
 * Metadata for all the navigation properties in the request builder.
 */
export declare const MessageItemRequestBuilderNavigationMetadata: Record<Exclude<keyof MessageItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
 * Metadata for all the requests in the request builder.
 */
export declare const MessageItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map