async listPageRangesSegment(offset = 0, count, marker, options = {}) {
        return tracingClient.withSpan("PageBlobClient-getPageRangesSegment", options, async (updatedOptions) => {
            var _a;
            return assertResponse(await this.pageBlobContext.getPageRanges({
                abortSignal: options.abortSignal,
                leaseAccessConditions: options.conditions,
                modifiedAccessConditions: Object.assign(Object.assign({}, options.conditions), { ifTags: (_a = options.conditions) === null || _a === void 0 ? void 0 : _a.tagConditions }),
                range: rangeToString({ offset, count }),
                marker: marker,
                maxPageSize: options.maxPageSize,
                tracingOptions: updatedOptions.tracingOptions,
            }));
        });
    }
getPageRangesSegment returns a single segment of page ranges starting from the
specified Marker. Use an empty Marker to start enumeration from the beginning.
After getting a segment, process it, and then call getPageRangesSegment again
(passing the the previously-returned Marker) to get the next segment.
@see https://learn.microsoft.com/rest/api/storageservices/get-page-ranges

@param offset - Starting byte position of the page ranges.
@param count - Number of bytes to get.
@param marker - A string value that identifies the portion of the list to be returned with the next list operation.
@param options - Options to PageBlob Get Page Ranges Segment operation.