import type { PropType, ExtractPropTypes, EmitsToProps } from 'vue'; import type { StyleValues, ClassValues } from '../ele-app/types'; /** * 属性 */ export declare const tooltipProps: { /** 自定义内容样式 */ bodyStyle: PropType; /** 自定义背景色 */ bg: StringConstructor; /** 自定义箭头颜色 */ arrowBg: StringConstructor; /** 宽度 */ width: (NumberConstructor | StringConstructor)[]; /** 是否是气泡卡片(不会加针对 tooltip 的样式) */ isPopover: BooleanConstructor; content: import("element-plus/es/utils/vue/props/types").EpPropFinalized; zIndex: NumberConstructor; offset: import("element-plus/es/utils/vue/props/types").EpPropFinalized; transition: StringConstructor; disabled: BooleanConstructor; ariaLabel: StringConstructor; visible: import("element-plus/es/utils/vue/props/types").EpPropFinalized<(new (...args: any[]) => boolean) | (() => boolean | null) | (((new (...args: any[]) => boolean) | (() => boolean | null)) | null)[], unknown, unknown, null, boolean>; effect: import("element-plus/es/utils/vue/props/types").EpPropFinalized<(new (...args: any[]) => string) | (() => import("element-plus").PopperEffect) | (((new (...args: any[]) => string) | (() => import("element-plus").PopperEffect)) | null)[], unknown, unknown, "dark", boolean>; enterable: import("element-plus/es/utils/vue/props/types").EpPropFinalized; virtualTriggering: BooleanConstructor; fallbackPlacements: import("element-plus/es/utils/vue/props/types").EpPropFinalized<(new (...args: any[]) => import("element-plus").Placement[]) | (() => import("element-plus").Placement[]) | (((new (...args: any[]) => import("element-plus").Placement[]) | (() => import("element-plus").Placement[])) | null)[], unknown, unknown, undefined, boolean>; gpuAcceleration: import("element-plus/es/utils/vue/props/types").EpPropFinalized; placement: import("element-plus/es/utils/vue/props/types").EpPropFinalized; popperOptions: import("element-plus/es/utils/vue/props/types").EpPropFinalized<(new (...args: any[]) => Partial) | (() => Partial) | (((new (...args: any[]) => Partial) | (() => Partial)) | null)[], unknown, unknown, () => {}, boolean>; arrowOffset: import("element-plus/es/utils/vue/props/types").EpPropFinalized; showArrow: import("element-plus/es/utils/vue/props/types").EpPropFinalized; appendTo: { readonly type: PropType string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; rawContent: BooleanConstructor; persistent: BooleanConstructor; teleported: import("element-plus/es/utils/vue/props/types").EpPropFinalized; showAfter: import("element-plus/es/utils/vue/props/types").EpPropFinalized; hideAfter: import("element-plus/es/utils/vue/props/types").EpPropFinalized; autoClose: import("element-plus/es/utils/vue/props/types").EpPropFinalized; trigger: import("element-plus/es/utils/vue/props/types").EpPropFinalized<(new (...args: any[]) => "focus" | "hover" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable) | (((new (...args: any[]) => "focus" | "hover" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable)) | null)[], unknown, unknown, "hover", boolean>; triggerKeys: import("element-plus/es/utils/vue/props/types").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => string[], boolean>; focusOnTarget: BooleanConstructor; virtualRef: { readonly type: PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; className: StringConstructor; popperClass: PropType; popperStyle: PropType; }; export type TooltipProps = ExtractPropTypes; /** * 事件 */ export type TooltipEmits = { 'update:visible': (visible: boolean) => boolean; 'before-show': (e: Event) => boolean; 'before-hide': (e: Event) => boolean; show: (e: Event) => boolean; hide: (e: Event) => boolean; open: (e: any) => boolean; close: (e: any) => boolean; }; export declare const tooltipEmits: TooltipEmits; export type TooltipEmitsProps = EmitsToProps; export type TooltipPropsAndEmits = TooltipProps & TooltipEmitsProps; /** * 属性名 */ export type TooltipPropKeys = Array; export declare const tooltipPropKeys: TooltipPropKeys;