UNPKG

@cornerstonejs/core

Version:
8 lines (7 loc) 678 B
import type { ViewPresentation } from '../../../types/index.js'; import type { ViewPresentationSelector } from '../../../types/IViewport.js'; import type { ProjectionWriteOptions } from '../ViewportProjectionTypes.js'; import type { WSIProjectionSnapshot } from './WSIProjectionTypes.js'; import type { WSIViewState } from './WSIViewportTypes.js'; export declare function getWSIProjectionPresentation(snapshot: WSIProjectionSnapshot, selector: ViewPresentationSelector | undefined): ViewPresentation; export declare function withWSIProjectionPresentation(snapshot: WSIProjectionSnapshot, presentation: Partial<ViewPresentation>, options?: ProjectionWriteOptions): WSIViewState;