import { createViewerControllerHandle, mountViewer as mountCoreViewer, } from './controller.js';
import { fileViewerCoreRendererRegistry } from '@file-viewer/core';
export const mountViewer = (container, initialOptions = {}, coreOptions = {}) => {
    return mountCoreViewer(container, initialOptions, {
        registry: fileViewerCoreRendererRegistry,
        ...coreOptions,
    });
};
const FlyfishFileViewerWeb = {
    createViewerControllerHandle,
    mountViewer,
};
export { createViewerControllerHandle };
export default FlyfishFileViewerWeb;
