import type { Snippet } from 'svelte'; interface Props { /** Whether the modal is open. */ isOpen?: boolean; /** Accessible role of the modal. */ role?: 'dialog' | 'alertdialog'; /** The modal title */ title: string; /** An optional subtitle */ subtitle?: Snippet; /** The modal size */ size?: 'small' | 'medium' | 'large' | 'extra-large'; contentPadding?: string; /** Whether the content should clip overflow or not */ clipOverflow?: boolean; onClose?: () => void; content: Snippet; footer?: Snippet; /** * Returns the element that should receive focus on open. Return `null` to * skip the default first-tabbable behavior (focus-trap will fall back to the * content container). Omit to use the default. */ initialFocusEl?: () => HTMLElement | null; } declare const Dialog: import("svelte").Component; type Dialog = ReturnType; export default Dialog;