async getPageRangesDiff(offset, count, prevSnapshot, options = {}) {
        options.conditions = options.conditions || {};
        return tracingClient.withSpan("PageBlobClient-getPageRangesDiff", options, async (updatedOptions) => {
            var _a;
            const result = assertResponse(await this.pageBlobContext.getPageRangesDiff({
                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 }),
                prevsnapshot: prevSnapshot,
                range: rangeToString({ offset, count }),
                tracingOptions: updatedOptions.tracingOptions,
            }));
            return rangeResponseFromModel(result);
        });
    }
Gets the collection of page ranges that differ between a specified snapshot and this page blob.
@see https://learn.microsoft.com/rest/api/storageservices/get-page-ranges

@param offset - Starting byte position of the page blob
@param count - Number of bytes to get ranges diff.
@param prevSnapshot - Timestamp of snapshot to retrieve the difference.
@param options - Options to the Page Blob Get Page Ranges Diff operation.
@returns Response data for the Page Blob Get Page Range Diff operation.