interface Props { /** Whether the modal is open. */ isOpen: boolean; /** The variant of the modal. */ variant?: 'small' | 'medium' | 'fit' | 'full'; /** Accessible role of the modal. */ role?: 'dialog' | 'alertdialog'; /** Close event handler. */ onClose: () => void; } interface $$__sveltets_2_IsomorphicComponent = any, Events extends Record = any, Slots extends Record = any, Exports = {}, Bindings = string> { new (options: import('svelte').ComponentConstructorOptions): import('svelte').SvelteComponent & { $$bindings?: Bindings; } & Exports; (internal: unknown, props: Props & { $$events?: Events; $$slots?: Slots; }): Exports & { $set?: any; $on?: any; }; z_$$bindings?: Bindings; } type $$__sveltets_2_PropsWithChildren = Props & (Slots extends { default: any; } ? Props extends Record ? any : { children?: any; } : {}); /** * @deprecated Use Dialog instead. * * Creates a modal overlay. * * ```svelte * * *
* * * * This is the modal demo * * * Are you sure you want to print a statement to the console? * * * * *
* ``` */ declare const Modal: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren, { [evt: string]: CustomEvent; }, { title: {}; message: {}; default: {}; tertiary: {}; secondary: {}; primary: {}; }, {}, "">; type Modal = InstanceType; export default Modal;