@lunit/insight-viewer
Version:
Based on the cornerstone library, it provides several components for handling Dicom images
10 lines (9 loc) • 362 B
TypeScript
import { RequestInterceptor } from '../../types';
declare type HttpClient = (url: string) => Promise<ArrayBuffer>;
declare type HttpClientOptions = {
requestInterceptor: RequestInterceptor;
timeout: number;
};
declare type GetHttpClient = (options: HttpClientOptions) => HttpClient;
export declare const getHttpClient: GetHttpClient;
export {};