import type { ModalPositions, ModalSizes } from './_internal/components/Modal/Modal.types'; export * from './_internal/components/Modal/Modal.types'; export interface ModalProps { /** * Hides the "close" button */ hideClose?: boolean; /** * Opens the modal when truthy; hides the modal when falsy. * @deprecated Use `isOpen` instead */ open?: boolean; /** * Opens the modal when truthy; hides the modal when falsy. */ isOpen?: boolean; /** * Use v-model:is-open or :is-open instead of :model-value and v-model. * @deprecated */ modelValue?: boolean; /** * Sets a preset max-width on the modal. * Options: default (648px), narrow (360px), wide (960px) */ size?: ModalSizes; /** * Should the modal be scrollable within the content area. This prop is treated as `true` when the `position` prop is set to "left" or "right". */ scrollable?: boolean; /** * Gives the modal body have a light gray background */ contrast?: boolean; /** * Text to display in the modal header */ title?: string; /** * Disables the default padding in the modal body. */ disableBodyPadding?: boolean; /** * The position on the screen to display the modal. */ position?: ModalPositions; /** * Hide the header. Typically used with the featuredContent slot to display a graphic and create a "promo" modal. */ hideHeader?: boolean; /** * Add classes to the close button. This can be used with the hideHeader prop and featuredContent slot to * accommodate images with different color backgrounds. */ closeButtonColorClass?: string; /** * Prevents the modal from being dismissed by clicking the backdrop or pressing the escape key. * Example: There are in-flight api requests and you do not want the modal to close until they are done. */ preventDismiss?: boolean; } declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: __VLS_WithSlots any; dismiss: () => any; "update:is-open": (isOpen?: boolean | undefined) => any; }, string, import("vue").PublicProps, Readonly & Readonly<{ "onUpdate:open"?: ((isOpen?: boolean | undefined) => any) | undefined; onDismiss?: (() => any) | undefined; "onUpdate:is-open"?: ((isOpen?: boolean | undefined) => any) | undefined; }>, { title: string; size: ModalSizes; open: boolean; modelValue: boolean; position: ModalPositions; isOpen: boolean; hideClose: boolean; scrollable: boolean; contrast: boolean; hideHeader: boolean; closeButtonColorClass: string; preventDismiss: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, { headerAction?: (props: {}) => any; } & { 'featured-content'?: (props: {}) => any; } & { default?: (props: {}) => any; } & { footer?: (props: {}) => any; } & { actions?: (props: {}) => any; }>; type __VLS_WithSlots = T & { new (): { $slots: S; }; };