UNPKG

@azure/storage-blob

Version:
29 lines • 1.18 kB
import type { ListBlobsFlatSegmentResponse, ListBlobsHierarchySegmentResponse } from "../generated/src/models/index.js"; /** * Deserializes a List Blobs (flat) XML response body. Used when the service falls * back to XML for an account that does not support Apache Arrow; parses the * already-received stream instead of issuing a second request. * * @param response - The raw stream response from the list operation, with an XML body. */ export declare function deserializeListBlobFlatSegmentXml(response: { readableStreamBody?: NodeJS.ReadableStream; blobBody?: Promise<Blob>; }): Promise<{ parsed: ListBlobsFlatSegmentResponse; bodyAsText: string; }>; /** * Deserializes a List Blobs by hierarchy XML response body (see * {@link deserializeListBlobFlatSegmentXml}). * * @param response - The raw stream response from the list operation, with an XML body. */ export declare function deserializeListBlobHierarchySegmentXml(response: { readableStreamBody?: NodeJS.ReadableStream; blobBody?: Promise<Blob>; }): Promise<{ parsed: ListBlobsHierarchySegmentResponse; bodyAsText: string; }>; //# sourceMappingURL=blobListXmlParser.d.ts.map