import { type ChatMessageInfo } from '@microsoft/msgraph-beta-sdk/models/';
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
 * Provides operations to manage the lastMessagePreview property of the microsoft.graph.chat entity.
 */
export interface LastMessagePreviewRequestBuilder extends BaseRequestBuilder<LastMessagePreviewRequestBuilder> {
    /**
     * Delete navigation property lastMessagePreview for users
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     */
    delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
    /**
     * Preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property.
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns a Promise of ChatMessageInfo
     */
    get(requestConfiguration?: RequestConfiguration<LastMessagePreviewRequestBuilderGetQueryParameters> | undefined): Promise<ChatMessageInfo | undefined>;
    /**
     * Update the navigation property lastMessagePreview in users
     * @param body The request body
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns a Promise of ChatMessageInfo
     */
    patch(body: ChatMessageInfo, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ChatMessageInfo | undefined>;
    /**
     * Delete navigation property lastMessagePreview for users
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns a RequestInformation
     */
    toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
    /**
     * Preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property.
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns a RequestInformation
     */
    toGetRequestInformation(requestConfiguration?: RequestConfiguration<LastMessagePreviewRequestBuilderGetQueryParameters> | undefined): RequestInformation;
    /**
     * Update the navigation property lastMessagePreview in users
     * @param body The request body
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns a RequestInformation
     */
    toPatchRequestInformation(body: ChatMessageInfo, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
 * Preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property.
 */
export interface LastMessagePreviewRequestBuilderGetQueryParameters {
    /**
     * Expand related entities
     */
    expand?: string[];
    /**
     * Select properties to be returned
     */
    select?: string[];
}
/**
 * Metadata for all the requests in the request builder.
 */
export declare const LastMessagePreviewRequestBuilderRequestsMetadata: RequestsMetadata;
/**
 * Uri template for the request builder.
 */
export declare const LastMessagePreviewRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/lastMessagePreview{?%24select,%24expand}";
//# sourceMappingURL=index.d.ts.map