@idetik/core 0.23.7 → 0.24.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.
package/dist/index.d.ts CHANGED
@@ -1286,17 +1286,20 @@ type FileSystemOmeZarrImageSourceProps = {
1286
1286
  declare class OmeZarrImageSource {
1287
1287
  readonly location: Location<Readable>;
1288
1288
  readonly version?: Version;
1289
+ private loader_?;
1289
1290
  private constructor();
1290
1291
  open(): Promise<OmeZarrImageLoader>;
1292
+ getDimensions(): SourceDimensionMap;
1293
+ getChannelCount(): number;
1291
1294
  /**
1292
- * Creates an OmeZarrImageSource from an HTTP(S) URL.
1295
+ * Creates and opens an OmeZarrImageSource from an HTTP(S) URL.
1293
1296
  *
1294
- * @param url URL of Zarr root
1295
- * @param version OME-Zarr version
1297
+ * @param props.url URL of the Zarr root
1298
+ * @param props.version OME-Zarr version
1296
1299
  */
1297
- static fromHttp(props: HttpOmeZarrImageSourceProps): OmeZarrImageSource;
1300
+ static fromHttp(props: HttpOmeZarrImageSourceProps): Promise<OmeZarrImageSource>;
1298
1301
  /**
1299
- * Creates an OmeZarrImageSource from a local filesystem directory.
1302
+ * Creates and opens an OmeZarrImageSource from a local filesystem directory.
1300
1303
  *
1301
1304
  * @param directory return value of `window.showDirectoryPicker()` which gives the browser
1302
1305
  * permission to access a directory (only works in Chrome/Edge)
@@ -1304,7 +1307,7 @@ declare class OmeZarrImageSource {
1304
1307
  * @param path path to image, beginning with "/". This argument allows the application to only
1305
1308
  * ask the user once for permission to the root directory
1306
1309
  */
1307
- static fromFileSystem(props: FileSystemOmeZarrImageSourceProps): OmeZarrImageSource;
1310
+ static fromFileSystem(props: FileSystemOmeZarrImageSourceProps): Promise<OmeZarrImageSource>;
1308
1311
  }
1309
1312
 
1310
1313
  declare class AxesLayer extends Layer {