import * as React from 'react'; import type { TranslationBundle } from '@jupyterlab/translation'; /** * The file extensions registered as the xtralab image diff provider. */ export declare const IMAGE_DIFF_EXTENSIONS: string[]; /** * The `data:` MIME subtype for a path xtralab renders as an image, or * `null` when the path is not a supported raster image. */ export declare function imageDataType(path: string): string | null; interface IImageDiffViewProps { /** * Base64 of the reference (old) revision; empty when added. */ reference: string; /** * Base64 of the challenger (new) revision; empty when deleted. */ challenger: string; /** * MIME subtype from {@link imageDataType}. */ fileType: string; /** * Translation bundle for user-facing strings. */ trans: TranslationBundle; } /** * The image comparison surface: a segmented mode selector (reusing the * diff segmented-control styling so it matches the Notebook/JSON toggle) * plus the selected 2-up / swipe / onion-skin view. */ export declare function ImageDiffView(props: IImageDiffViewProps): React.ReactElement; export {};