@lunit/insight-viewer
Version:
Based on the cornerstone library, it provides several components for handling Dicom images
18 lines (17 loc) • 455 B
TypeScript
import { Image, ImageWithoutKey } from '../../Viewer/types';
import { HTTP, LoaderType, LoadingState } from '../../types';
export interface Loaded {
image: ImageWithoutKey;
loaded: number;
}
export interface ImagesLoadState {
loadingStates: LoadingState[];
images: Image[];
}
export declare type Props = {
imageIds: string[];
type?: LoaderType;
} & Partial<HTTP>;
export interface OnImagesLoaded {
(): void;
}