import { ExtractPublicPropTypes } from "../../_utils/naive/extract-public-props.js"; import { Mutable } from "../../_utils/naive/mutable.js"; import "../../_utils/index.js"; import { NotificationOptions } from "./NotificationEnvironment.js"; import { NotificationTheme, NotificationThemeOverrides } from "../styles/light.js"; import "../styles/index.js"; import { MergedTheme } from "../../_mixins/use-theme.js"; import "../../_mixins/index.js"; import { CSSProperties, ExtractPropTypes, PropType, Ref } from "vue"; //#region src/notification/src/NotificationProvider.d.ts type NotificationPlacement = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top' | 'bottom'; interface NotificationProviderInjection { props: ExtractPropTypes; mergedClsPrefixRef: Ref; mergedThemeRef: Ref>; wipTransitionCountRef: Ref; } type Create = (options: NotificationOptions) => NotificationReactive; type TypedCreate = (options: Omit) => NotificationReactive; interface NotificationApiInjection { create: Create; info: TypedCreate; success: TypedCreate; warning: TypedCreate; error: TypedCreate; /** @deprecated */ open: Create; destroyAll: () => void; } type NotificationProviderInst = NotificationApiInjection; declare const notificationApiInjectionKey: import("vue").InjectionKey; type NotificationType = 'info' | 'success' | 'warning' | 'error'; type NotificationReactive = { readonly key: string; readonly destroy: () => void; /** @deprecated */ readonly hide: () => void; /** @deprecated */ readonly deactivate: () => void; } & Mutable; interface NotificationRef { hide: () => void; } declare const notificationProviderProps: { containerClass: StringConstructor; containerStyle: PropType; to: PropType; scrollable: { type: BooleanConstructor; default: boolean; }; max: NumberConstructor; placement: { type: PropType; default: string; }; keepAliveOnHover: BooleanConstructor; theme: PropType; themeOverrides: PropType; builtinThemeOverrides: PropType; }; type NotificationProviderProps = ExtractPublicPropTypes; declare const _default: import("vue").DefineComponent; to: PropType; scrollable: { type: BooleanConstructor; default: boolean; }; max: NumberConstructor; placement: { type: PropType; default: string; }; keepAliveOnHover: BooleanConstructor; theme: PropType; themeOverrides: PropType; builtinThemeOverrides: PropType; }>, { mergedClsPrefix: Ref; notificationList: Ref<{ readonly key: string; readonly destroy: () => void; readonly hide: () => void; readonly deactivate: () => void; type?: "error" | "info" | "success" | "warning" | "default" | undefined; closable?: boolean | undefined; keepAliveOnHover?: boolean | undefined; title?: string | (() => import("vue").VNodeChild) | undefined; onClose?: (() => Promise | boolean | any) | undefined; onAfterLeave?: (() => void) | undefined; onAfterHide?: (() => void) | undefined; content?: string | (() => import("vue").VNodeChild) | undefined; meta?: string | (() => import("vue").VNodeChild) | undefined; onMouseenter?: ((e: MouseEvent) => void) | undefined; onMouseleave?: ((e: MouseEvent) => void) | undefined; duration?: number | undefined; avatar?: (() => import("vue").VNodeChild) | undefined; action?: string | (() => import("vue").VNodeChild) | undefined; onHide?: (() => void) | undefined; onAfterEnter?: (() => void) | undefined; description?: string | (() => import("vue").VNodeChild) | undefined; onLeave?: (() => void) | undefined; onAfterShow?: (() => void) | undefined; }[], NotificationReactive[] | { readonly key: string; readonly destroy: () => void; readonly hide: () => void; readonly deactivate: () => void; type?: "error" | "info" | "success" | "warning" | "default" | undefined; closable?: boolean | undefined; keepAliveOnHover?: boolean | undefined; title?: string | (() => import("vue").VNodeChild) | undefined; onClose?: (() => Promise | boolean | any) | undefined; onAfterLeave?: (() => void) | undefined; onAfterHide?: (() => void) | undefined; content?: string | (() => import("vue").VNodeChild) | undefined; meta?: string | (() => import("vue").VNodeChild) | undefined; onMouseenter?: ((e: MouseEvent) => void) | undefined; onMouseleave?: ((e: MouseEvent) => void) | undefined; duration?: number | undefined; avatar?: (() => import("vue").VNodeChild) | undefined; action?: string | (() => import("vue").VNodeChild) | undefined; onHide?: (() => void) | undefined; onAfterEnter?: (() => void) | undefined; description?: string | (() => import("vue").VNodeChild) | undefined; onLeave?: (() => void) | undefined; onAfterShow?: (() => void) | undefined; }[]>; notificationRefs: Record; handleAfterLeave: (key: string) => void; } & { create: (options: NotificationOptions) => NotificationReactive; info: (options: Omit) => NotificationReactive; success: (options: Omit) => NotificationReactive; warning: (options: Omit) => NotificationReactive; error: (options: Omit) => NotificationReactive; open: (options: NotificationOptions) => NotificationReactive; destroyAll: () => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly; to: PropType; scrollable: { type: BooleanConstructor; default: boolean; }; max: NumberConstructor; placement: { type: PropType; default: string; }; keepAliveOnHover: BooleanConstructor; theme: PropType; themeOverrides: PropType; builtinThemeOverrides: PropType; }>> & Readonly<{}>, { scrollable: boolean; placement: NotificationPlacement; keepAliveOnHover: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; //#endregion export { NotificationApiInjection, NotificationPlacement, NotificationProviderInjection, NotificationProviderInst, NotificationProviderProps, NotificationReactive, NotificationType, _default as default, notificationApiInjectionKey, notificationProviderProps };