/** * Copyright (c) 2018-2024 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Adam Midlik * @author Aliaksei Chareshneu */ import { DescriptionData, SegmentAnnotationData, type Metadata, AnnotationMetadata } from './data'; export declare const DEFAULT_VOLSEG_SERVER = "http://localhost:9000/v1"; export declare class VolumeApiV2 { volumeServerUrl: string; constructor(volumeServerUrl?: string); updateAnnotationsJson(source: string, entryId: string, annotationsJson: AnnotationMetadata): Promise; editDescriptionsUrl(source: string, entryId: string, descriptionData: DescriptionData[]): Promise; editSegmentAnnotationsUrl(source: string, entryId: string, segmentAnnotationData: SegmentAnnotationData[]): Promise; removeDescriptionsUrl(source: string, entryId: string, description_ids: string[]): Promise; removeSegmentAnnotationsUrl(source: string, entryId: string, annotation_ids: string[]): Promise; entryListUrl(maxEntries: number, keyword?: string): string; metadataUrl(source: string, entryId: string): string; volumeUrl(source: string, entryId: string, timeframe: number, channelId: string, box: [[number, number, number], [number, number, number]] | null, maxPoints: number): string; latticeUrl(source: string, entryId: string, segmentation: string, timeframe: number, box: [[number, number, number], [number, number, number]] | null, maxPoints: number): string; geometricSegmentationUrl(source: string, entryId: string, segmentation_id: string, timeframe: number): string; meshUrl_Json(source: string, entryId: string, segmentation_id: string, timeframe: number, segment: number, detailLevel: number): string; meshUrl_Bcif(source: string, entryId: string, segmentation_id: string, timeframe: number, segment: number, detailLevel: number): string; volumeInfoUrl(source: string, entryId: string): string; getEntryList(maxEntries: number, keyword?: string): Promise<{ [source: string]: string[]; }>; getMetadata(source: string, entryId: string): Promise; }