// Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. import type { IWidgetTracker } from '@jupyterlab/apputils'; import type { IDocumentWidget } from '@jupyterlab/docregistry'; import { Token } from '@lumino/coreutils'; import type { ImageViewer } from './widget'; /** * A class that tracks image widgets. */ export interface IImageTracker extends IWidgetTracker< IDocumentWidget > {} /** * The image tracker token. */ export const IImageTracker = new Token( '@jupyterlab/imageviewer:IImageTracker', `A widget tracker for images. Use this if you want to be able to iterate over and interact with images viewed by the application.` );