import type { Types } from '@cornerstonejs/core'; import type SegmentationRepresentations from '../../enums/SegmentationRepresentations.js'; import type { SegmentationRepresentation } from '../../types/SegmentationStateTypes.js'; type SegmentationRepresentationUpdateFunction = (segmentationId: string) => Promise; export type SegmentationRepresentationDisplay = { getUpdateFunction: (viewport: Types.IVolumeViewport | Types.IStackViewport) => SegmentationRepresentationUpdateFunction | void | null; render: (viewport: Types.IVolumeViewport | Types.IStackViewport, representation: SegmentationRepresentation) => Promise; removeRepresentation: (viewportId: string, segmentationId: string, renderImmediate?: boolean) => void; }; export declare function registerSegmentationRepresentationDisplay(representationType: SegmentationRepresentations, display: SegmentationRepresentationDisplay): void; export declare function getSegmentationRepresentationDisplay(representationType: SegmentationRepresentations): SegmentationRepresentationDisplay | undefined; export {};