larvitar 3.7.2 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -133,7 +133,7 @@ export declare const getAnisotropicDisplayedArea: (id: string, viewport: Viewpor
133
133
  * @param {RenderProps | undefined} options - Optional properties
134
134
  * @return {Promise} Return a promise which will resolve when image is displayed
135
135
  */
136
- export declare const renderImage: (seriesStack: Series, elementId: string | HTMLElement, options?: RenderProps) => Promise<true>;
136
+ export declare const renderImage: (seriesStack: Series, elementId: string | HTMLElement, options?: RenderProps, signal?: AbortSignal) => Promise<true>;
137
137
  /**
138
138
  * Redraw the cornerstone image
139
139
  * @instance
@@ -18,6 +18,14 @@ export declare const resetPixelShift: (elementId: string) => void;
18
18
  * @returns {Function} Custom Image Creation Function
19
19
  */
20
20
  export declare const loadDsaImage: ImageLoader;
21
+ /**
22
+ * Update the DSA imageIds for a given seriesId
23
+ * @export
24
+ * @function updateDsaImageIds
25
+ * @param {string} uniqueUID - The unique identifier for the series
26
+ * @return {string} The new imageId
27
+ */
28
+ export declare const updateDsaImageIds: (uniqueUID: string) => string;
21
29
  /**
22
30
  * Populate the DSA imageIds for a given seriesId
23
31
  * @export
@@ -307,6 +307,7 @@ export type NrrdSeries = {
307
307
  ecgData?: number[];
308
308
  isMultiframe?: boolean;
309
309
  numberOfFrames?: number;
310
+ dsa?: DSA;
310
311
  };
311
312
  export type NrrdHeader = {
312
313
  volume: Volume;