export default DiagView; declare namespace DiagView { export { init }; export { initShadowRoot }; export { destroy }; export { refresh }; export { configure }; export { getConfiguration }; export { publicState as state }; export { exportDiagram }; export { exportToPNG }; export { exportToSVG }; export { exportToJPEG }; export { exportToWebP }; export { exportToPDF }; export { copyToClipboard }; export { closeModal }; export namespace utils { export { sanitizeSVG }; } export { openFullscreen }; export { version }; } /** * Initialize DiagView * @param {object} options - Configuration options */ export function init(options?: object): void; /** * Initialize diagrams inside a Shadow DOM root. * @param {ShadowRoot} shadowRoot */ export function initShadowRoot(shadowRoot: ShadowRoot): void; /** * Destroy and clean up DiagView */ export function destroy(): Promise; /** * Refresh and initialize new diagrams */ export function refresh(): void; /** * Update configuration at runtime * @param {object} options - New configuration options */ export function configure(options?: object): void; /** * Get current configuration * @returns {object} Current configuration */ export function getConfiguration(): object; import { exportDiagram } from "./features/export.js"; import { exportToPNG } from "./features/export.js"; import { exportToSVG } from "./features/export.js"; import { exportToJPEG } from "./features/export.js"; import { exportToWebP } from "./features/export.js"; import { exportToPDF } from "./features/export.js"; import { copyToClipboard } from "./features/export.js"; import { closeModal } from "./ui/modal-controls.js"; import { openFullscreen } from "./ui/modal.js"; export const version: any; import { publicState } from "./core/config.js"; import { sanitizeSVG } from "./core/utils.js"; export { exportDiagram, exportToPNG, exportToSVG, exportToJPEG, exportToWebP, exportToPDF, copyToClipboard, closeModal, openFullscreen }; //# sourceMappingURL=index.d.ts.map