import 'viewerjs/dist/viewer.css';
import Viewer from 'viewerjs';
declare type Options = Viewer.Options;
/**
 * 输入的数据，可以使用 Img 标签
 */
export declare type ImgData = {
    alt: string;
    src: string;
} | HTMLImageElement;
export declare const useViewer: (props?: Options) => {
    addImages(image: ImgData[]): void;
    replaceImages(newImages: ImgData[]): void;
    getViewer(): Viewer;
};
export {};
