import { type DriveItem } from '@microsoft/msgraph-sdk/models/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the media for the team entity. */ export interface ContentRequestBuilder extends BaseRequestBuilder { /** * The content stream, if the item represents a file. * @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 | undefined): Promise; /** * The content stream, if the item represents a file. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * The content stream, if the item represents a file. * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ put(body: ArrayBuffer | undefined, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * The content stream, if the item represents a file. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * The content stream, if the item represents a file. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * The content stream, if the item represents a file. * @param body Binary request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPutRequestInformation(body: ArrayBuffer | undefined, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * The content stream, if the item represents a file. */ export interface ContentRequestBuilderGetQueryParameters { /** * Format of the content */ format?: string; } /** * Uri template for the request builder. */ export declare const ContentRequestBuilderUriTemplate = "{+baseurl}/teams/{team%2Did}/primaryChannel/filesFolder/content{?%24format*}"; /** * Metadata for all the requests in the request builder. */ export declare const ContentRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map