import { type DefaultSettings } from '../settings'; import { mount } from 'svelte'; import type { RenderableType } from './detect'; export type ViewerMountType = Exclude | `isosurface`; export interface MountViewerOptions { defaults: DefaultSettings; on_close?: () => void; } export declare const VIEWER_COMMON_PROPS: { readonly style: "height: 100%; border-radius: 0"; readonly fullscreen_toggle: false; }; export declare function mount_viewer(target: HTMLElement, type: ViewerMountType, data: unknown, { defaults, on_close }: MountViewerOptions): ReturnType;