async deleteIfExists(options = {}) {
        return tracingClient.withSpan("BlobClient-deleteIfExists", options, async (updatedOptions) => {
            var _a, _b;
            try {
                const res = assertResponse(await this.delete(updatedOptions));
                return Object.assign(Object.assign({ succeeded: true }, res), { _response: res._response });
            }
            catch (e) {
                if (((_a = e.details) === null || _a === void 0 ? void 0 : _a.errorCode) === "BlobNotFound") {
                    return Object.assign(Object.assign({ succeeded: false }, (_b = e.response) === null || _b === void 0 ? void 0 : _b.parsedHeaders), { _response: e.response });
                }
                throw e;
            }
        });
    }
Marks the specified blob or snapshot for deletion if it exists. The blob is later deleted
during garbage collection. Note that in order to delete a blob, you must delete
all of its snapshots. You can delete both at the same time with the Delete
Blob operation.
@see https://learn.microsoft.com/en-us/rest/api/storageservices/delete-blob

@param options - Optional options to Blob Delete operation.