import { ODataHttpClient, ODataRequestConfig } from "@odata2ts/http-client-api"; import { RequestCmd, RequestCmdOptions } from "./RequestCmd"; import { RequestInfo } from "./RequestInfo"; /** * Writes binary data (a media entity's content or a stream property) from a stream, so that the payload * does not have to be held in memory as a whole - the counterpart to {@link BlobUpdateRequestCmd}. * * Not every client can do this: sending a stream requires the fetch API, so the axios and the jquery * client refuse the call. Use `updateBlob` with those. * * The response is either empty (204) or the stored content, depending on the server, hence * `ReadableStream | undefined`. */ export declare class StreamUpdateRequestCmd extends RequestCmd { protected url: string; protected mimeType: string; constructor(client: ODataHttpClient, url: string, data: ReadableStream, mimeType: string, options?: RequestCmdOptions); getUrl(): string; protected sendRequest(request: RequestInfo, requestConfig?: ODataRequestConfig): import("@odata2ts/http-client-api").ODataResponse>; }