import { type SharedInsight } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type LastSharedMethodRequestBuilder } from './lastSharedMethod/index.js';
import { type ResourceRequestBuilder } from './resource/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
 * Provides operations to manage the shared property of the microsoft.graph.officeGraphInsights entity.
 */
export interface SharedInsightItemRequestBuilder extends BaseRequestBuilder<SharedInsightItemRequestBuilder> {
    /**
     * Provides operations to manage the lastSharedMethod property of the microsoft.graph.sharedInsight entity.
     */
    get lastSharedMethod(): LastSharedMethodRequestBuilder;
    /**
     * Provides operations to manage the resource property of the microsoft.graph.sharedInsight entity.
     */
    get resource(): ResourceRequestBuilder;
    /**
     * Delete navigation property shared for users
     * @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
     */
    delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
    /**
     * Access this property from the derived type itemInsights.
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {Promise<SharedInsight>}
     * @throws {ODataError} error when the service returns a 4XX or 5XX status code
     */
    get(requestConfiguration?: RequestConfiguration<SharedInsightItemRequestBuilderGetQueryParameters> | undefined): Promise<SharedInsight | undefined>;
    /**
     * Update the navigation property shared in users
     * @param body The request body
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {Promise<SharedInsight>}
     * @throws {ODataError} error when the service returns a 4XX or 5XX status code
     */
    patch(body: SharedInsight, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SharedInsight | undefined>;
    /**
     * Delete navigation property shared for users
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {RequestInformation}
     */
    toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
    /**
     * Access this property from the derived type itemInsights.
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {RequestInformation}
     */
    toGetRequestInformation(requestConfiguration?: RequestConfiguration<SharedInsightItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
    /**
     * Update the navigation property shared in users
     * @param body The request body
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {RequestInformation}
     */
    toPatchRequestInformation(body: SharedInsight, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
 * Access this property from the derived type itemInsights.
 */
export interface SharedInsightItemRequestBuilderGetQueryParameters {
    /**
     * Expand related entities
     */
    expand?: string[];
    /**
     * Select properties to be returned
     */
    select?: string[];
}
/**
 * Uri template for the request builder.
 */
export declare const SharedInsightItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/insights/shared/{sharedInsight%2Did}{?%24expand,%24select}";
/**
 * Metadata for all the navigation properties in the request builder.
 */
export declare const SharedInsightItemRequestBuilderNavigationMetadata: Record<Exclude<keyof SharedInsightItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
 * Metadata for all the requests in the request builder.
 */
export declare const SharedInsightItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map