export default Modal; type Modal = { $on?(type: string, callback: (e: any) => void): () => void; $set?(props: Partial>): void; } & { focus: () => void; close: (returnValue: string) => void; }; /** A generic modal top-layer helper based on the HTML `` element. */ declare const Modal: import("svelte").Component, { focus: () => void; close: (returnValue: string) => void; }, "dialog" | "open">; import type { ModalProps } from '../../typedefs';