UNPKG

421 BTypeScriptView Raw
1import { ImageViewerProps, MultiImageViewerProps } from './image-viewer';
2export declare type ImageViewerShowHandler = {
3 close: () => void;
4};
5export declare function showImageViewer(props: Omit<ImageViewerProps, 'visible'>): ImageViewerShowHandler;
6export declare function showMultiImageViewer(props: Omit<MultiImageViewerProps, 'visible'>): ImageViewerShowHandler;
7export declare function clearImageViewer(): void;