import { CLBorderRadius, CLGenericFunction } from '../../../index.ts'; export interface CLModalProps { /** The border radius size. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Medium`. */ borderRadius?: CLBorderRadius; /** Display a close button to dismiss the modal. It's default value is `true`. */ close?: boolean; /** The border radius size of the close button. The property can be one of `CLBorderRadius`, e.g. `CLBorderRadius.Full`. */ closeBorderRadius?: CLBorderRadius; /** When `false,` the modal will not close when clicking outside or pressing escape. It's default value is `true`. */ dismissible?: boolean; /** When set to `true`, the Modal spans the available width and height of the page. */ fullscreen?: boolean; /** When set to `true`, the Modal is visible. */ isOpen?: boolean; /** Sets the max width of the modal, it's default value is `640px`. */ maxWidth?: string; /** The unique identifier of the Modal. */ modalId: string; /** A callback function to be called when the Modal is closed. */ onClose?: CLGenericFunction; /** When set to `true`, it renders an overlay behind the modal. It's default value is `true`. */ overlay?: boolean; /** When set to `true`, teleports the modal to the target element. Defaults to `true`. */ teleport?: boolean; /** Target element or selector to teleport the modal to. Defaults to `'body'`. */ teleportTo?: string | HTMLElement; /** Sets a custom ID used for unit tests. */ testId?: string; /** The title content of the Modal. */ title?: string; /** The z-index of the Modal. */ zIndex?: number | string; } declare const _default: __VLS_WithTemplateSlots any; "modal-close": () => any; }, string, import('vue').PublicProps, Readonly & Readonly<{ "onModal-open"?: (() => any) | undefined; "onModal-close"?: (() => any) | undefined; }>, { title: string; close: boolean; testId: string; borderRadius: CLBorderRadius; overlay: boolean; dismissible: boolean; isOpen: boolean; onClose: CLGenericFunction; zIndex: number | string; maxWidth: string; closeBorderRadius: CLBorderRadius; fullscreen: boolean; teleport: boolean; teleportTo: string | HTMLElement; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, any, any>, any>; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };