declare namespace openDrawio { const close: () => void; const isOpen: () => boolean; const isLoaded: () => boolean; } declare function openDrawio(): Promise; declare function init(url?: string): typeof openDrawio; export default init;