import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Builds and executes requests for operations under /Api/Update/Upload */ export interface UploadRequestBuilder extends BaseRequestBuilder { /** * THIS API SHOULD ONLY BE USED IF INSTRUCTED BY SHI EMPLOYEES!Uploads the specified ZIP package, validates signature and installs it if it matches. This ignores version numbers and will allow you to install the same version again if necessary.This endpoint requires the `Update.ReadWrite`, or the `Everything.ReadWrite` scope (permission). * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. */ post(body: ArrayBuffer | undefined, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * THIS API SHOULD ONLY BE USED IF INSTRUCTED BY SHI EMPLOYEES!Uploads the specified ZIP package, validates signature and installs it if it matches. This ignores version numbers and will allow you to install the same version again if necessary.This endpoint requires the `Update.ReadWrite`, or the `Everything.ReadWrite` scope (permission). * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPostRequestInformation(body: ArrayBuffer | undefined, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Uri template for the request builder. */ export declare const UploadRequestBuilderUriTemplate = "{+baseurl}/Api/Update/Upload"; /** * Metadata for all the requests in the request builder. */ export declare const UploadRequestBuilderRequestsMetadata: RequestsMetadata;