import { type Device } from '@microsoft/msgraph-beta-sdk/models/';
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
 * Provides operations to manage the devices property of the microsoft.graph.user entity.
 */
export interface DevicesWithDeviceIdRequestBuilder extends BaseRequestBuilder<DevicesWithDeviceIdRequestBuilder> {
    /**
     * Delete navigation property devices 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>;
    /**
     * Get devices from users
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {Promise<Device>}
     * @throws {ODataError} error when the service returns a 4XX or 5XX status code
     */
    get(requestConfiguration?: RequestConfiguration<DevicesWithDeviceIdRequestBuilderGetQueryParameters> | undefined): Promise<Device | undefined>;
    /**
     * Update the navigation property devices in users
     * @param body The request body
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {Promise<Device>}
     * @throws {ODataError} error when the service returns a 4XX or 5XX status code
     */
    patch(body: Device, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Device | undefined>;
    /**
     * Delete navigation property devices for users
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {RequestInformation}
     */
    toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
    /**
     * Get devices from users
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {RequestInformation}
     */
    toGetRequestInformation(requestConfiguration?: RequestConfiguration<DevicesWithDeviceIdRequestBuilderGetQueryParameters> | undefined): RequestInformation;
    /**
     * Update the navigation property devices 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: Device, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
 * Get devices from users
 */
export interface DevicesWithDeviceIdRequestBuilderGetQueryParameters {
    /**
     * Expand related entities
     */
    expand?: string[];
    /**
     * Select properties to be returned
     */
    select?: string[];
}
/**
 * Uri template for the request builder.
 */
export declare const DevicesWithDeviceIdRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/devices(deviceId='{deviceId}'){?%24expand,%24select}";
/**
 * Metadata for all the requests in the request builder.
 */
export declare const DevicesWithDeviceIdRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map