import { MaybeArray } from "../../_utils/vue/call.js"; import "../../_utils/index.js"; import { ButtonProps } from "../../button/src/Button.js"; import { CardSize } from "../../card/src/public-types.js"; import { CardSegmented } from "../../card/src/Card.js"; import { IconPlacement } from "../../dialog/src/interface.js"; import { ModalTheme, ModalThemeOverrides } from "../styles/light.js"; import "../styles/index.js"; import { ModalDraggableOptions } from "./interface.js"; import "../../index.js"; import { PropType } from "vue"; //#region src/modal/src/ModalEnvironment.d.ts declare const NModalEnvironment: import("vue").DefineComponent void>; required: true; }; draggable: PropType; onEsc: PropType<() => void>; 'onUpdate:show': PropType void>>; onUpdateShow: PropType void>>; onAfterEnter: PropType<() => void>; onBeforeLeave: PropType<() => void>; onAfterLeave: PropType<() => void>; onClose: PropType<() => Promise | boolean | any>; onPositiveClick: PropType<() => Promise | boolean | any>; onNegativeClick: PropType<() => Promise | boolean | any>; onMaskClick: PropType<(e: MouseEvent) => void>; internalDialog: BooleanConstructor; internalModal: BooleanConstructor; internalAppear: { type: PropType; default: undefined; }; overlayStyle: PropType; onBeforeHide: PropType<() => void>; onAfterHide: PropType<() => void>; onHide: PropType<(value: false) => void>; unstableShowMask: { type: BooleanConstructor; default: undefined; }; icon: PropType<() => import("vue").VNodeChild>; type: { readonly type: PropType<"info" | "success" | "warning" | "error" | "default">; readonly default: "default"; }; title: PropType import("vue").VNodeChild)>; closable: { readonly type: BooleanConstructor; readonly default: true; }; negativeText: StringConstructor; positiveText: StringConstructor; positiveButtonProps: PropType; negativeButtonProps: PropType; content: PropType import("vue").VNodeChild)>; action: PropType<() => import("vue").VNodeChild>; showIcon: { readonly type: BooleanConstructor; readonly default: true; }; loading: BooleanConstructor; bordered: BooleanConstructor; iconPlacement: PropType; titleClass: PropType>; titleStyle: PropType; contentClass: PropType>; contentStyle: PropType; actionClass: PropType>; actionStyle: PropType; closeFocusable: BooleanConstructor; contentScrollable: BooleanConstructor; headerClass: StringConstructor; headerStyle: PropType; headerExtraClass: StringConstructor; headerExtraStyle: PropType; footerClass: StringConstructor; footerStyle: PropType; embedded: BooleanConstructor; segmented: { readonly type: PropType; readonly default: false; }; size: PropType; hoverable: BooleanConstructor; role: StringConstructor; tag: { readonly type: PropType; readonly default: "div"; }; cover: PropType<() => import("vue").VNodeChild>; footer: PropType<() => import("vue").VNodeChild>; headerExtra: PropType<() => import("vue").VNodeChild>; show: BooleanConstructor; showMask: { type: BooleanConstructor; default: boolean; }; maskClosable: { type: BooleanConstructor; default: boolean; }; preset: PropType<"confirm" | "dialog" | "card">; to: PropType; displayDirective: { type: PropType<"if" | "show">; default: string; }; transformOrigin: { type: PropType<"center" | "mouse">; default: string; }; zIndex: NumberConstructor; autoFocus: { type: BooleanConstructor; default: boolean; }; trapFocus: { type: BooleanConstructor; default: boolean; }; closeOnEsc: { type: BooleanConstructor; default: boolean; }; blockScroll: { type: BooleanConstructor; default: boolean; }; theme: PropType; themeOverrides: PropType; builtinThemeOverrides: PropType; }>, { show: import("vue").Ref; hide: () => void; handleUpdateShow: (value: boolean) => void; handleAfterLeave: () => void; handleMaskClick: (e: MouseEvent) => void; handleEsc: () => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly void>; required: true; }; draggable: PropType; onEsc: PropType<() => void>; 'onUpdate:show': PropType void>>; onUpdateShow: PropType void>>; onAfterEnter: PropType<() => void>; onBeforeLeave: PropType<() => void>; onAfterLeave: PropType<() => void>; onClose: PropType<() => Promise | boolean | any>; onPositiveClick: PropType<() => Promise | boolean | any>; onNegativeClick: PropType<() => Promise | boolean | any>; onMaskClick: PropType<(e: MouseEvent) => void>; internalDialog: BooleanConstructor; internalModal: BooleanConstructor; internalAppear: { type: PropType; default: undefined; }; overlayStyle: PropType; onBeforeHide: PropType<() => void>; onAfterHide: PropType<() => void>; onHide: PropType<(value: false) => void>; unstableShowMask: { type: BooleanConstructor; default: undefined; }; icon: PropType<() => import("vue").VNodeChild>; type: { readonly type: PropType<"info" | "success" | "warning" | "error" | "default">; readonly default: "default"; }; title: PropType import("vue").VNodeChild)>; closable: { readonly type: BooleanConstructor; readonly default: true; }; negativeText: StringConstructor; positiveText: StringConstructor; positiveButtonProps: PropType; negativeButtonProps: PropType; content: PropType import("vue").VNodeChild)>; action: PropType<() => import("vue").VNodeChild>; showIcon: { readonly type: BooleanConstructor; readonly default: true; }; loading: BooleanConstructor; bordered: BooleanConstructor; iconPlacement: PropType; titleClass: PropType>; titleStyle: PropType; contentClass: PropType>; contentStyle: PropType; actionClass: PropType>; actionStyle: PropType; closeFocusable: BooleanConstructor; contentScrollable: BooleanConstructor; headerClass: StringConstructor; headerStyle: PropType; headerExtraClass: StringConstructor; headerExtraStyle: PropType; footerClass: StringConstructor; footerStyle: PropType; embedded: BooleanConstructor; segmented: { readonly type: PropType; readonly default: false; }; size: PropType; hoverable: BooleanConstructor; role: StringConstructor; tag: { readonly type: PropType; readonly default: "div"; }; cover: PropType<() => import("vue").VNodeChild>; footer: PropType<() => import("vue").VNodeChild>; headerExtra: PropType<() => import("vue").VNodeChild>; show: BooleanConstructor; showMask: { type: BooleanConstructor; default: boolean; }; maskClosable: { type: BooleanConstructor; default: boolean; }; preset: PropType<"confirm" | "dialog" | "card">; to: PropType; displayDirective: { type: PropType<"if" | "show">; default: string; }; transformOrigin: { type: PropType<"center" | "mouse">; default: string; }; zIndex: NumberConstructor; autoFocus: { type: BooleanConstructor; default: boolean; }; trapFocus: { type: BooleanConstructor; default: boolean; }; closeOnEsc: { type: BooleanConstructor; default: boolean; }; blockScroll: { type: BooleanConstructor; default: boolean; }; theme: PropType; themeOverrides: PropType; builtinThemeOverrides: PropType; }>> & Readonly<{}>, { showIcon: boolean; type: "error" | "info" | "success" | "warning" | "default"; bordered: boolean; closable: boolean; loading: boolean; contentScrollable: boolean; embedded: boolean; segmented: boolean | CardSegmented; hoverable: boolean; tag: keyof HTMLElementTagNameMap; closeFocusable: boolean; show: boolean; displayDirective: "if" | "show"; transformOrigin: "center" | "mouse"; blockScroll: boolean; closeOnEsc: boolean; autoFocus: boolean; maskClosable: boolean; showMask: boolean; trapFocus: boolean; internalDialog: boolean; internalModal: boolean; internalAppear: boolean | undefined; unstableShowMask: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; //#endregion export { NModalEnvironment };