import { PropType, ExtractPropTypes } from 'vue'; import { StyleValue } from '../y-app/types'; /** * 属性 */ export declare const tooltipProps: { /** 自定义内容样式 */ bodyStyle: PropType; /** 自定义背景色 */ bg: StringConstructor; /** 自定义箭头颜色 */ arrowBg: StringConstructor; /** 宽度 */ width: (NumberConstructor | StringConstructor)[]; /** 是否是气泡卡片 */ isPopover: BooleanConstructor; content: import('element-plus/es/utils/index').EpPropFinalized; zIndex: NumberConstructor; offset: import('element-plus/es/utils/index').EpPropFinalized; transition: StringConstructor; showArrow: import('element-plus/es/utils/index').EpPropFinalized; arrowOffset: import('element-plus/es/utils/index').EpPropFinalized; disabled: BooleanConstructor; trigger: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => "click" | "contextmenu" | "focus" | "hover" | import('element-plus').TooltipTriggerType[]) | (() => import('element-plus/es/utils/typescript').Arrayable) | (((new (...args: any[]) => "click" | "contextmenu" | "focus" | "hover" | import('element-plus').TooltipTriggerType[]) | (() => import('element-plus/es/utils/typescript').Arrayable)) | null)[], unknown, unknown, "hover", boolean>; triggerKeys: import('element-plus/es/utils/index').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; }; virtualTriggering: BooleanConstructor; ariaLabel: StringConstructor; appendTo: { readonly type: PropType string | HTMLElement) | (() => import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | (((new (...args: any[]) => string | HTMLElement) | (() => import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>)) | null)[], unknown, unknown>>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; rawContent: BooleanConstructor; persistent: BooleanConstructor; visible: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => boolean) | (() => boolean | null) | (((new (...args: any[]) => boolean) | (() => boolean | null)) | null)[], unknown, unknown, null, boolean>; teleported: import('element-plus/es/utils/index').EpPropFinalized; loop: BooleanConstructor; effect: import('element-plus/es/utils/index').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/index').EpPropFinalized; gpuAcceleration: import('element-plus/es/utils/index').EpPropFinalized; placement: import('element-plus/es/utils/index').EpPropFinalized; popperOptions: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => Partial) | (() => Partial) | (((new (...args: any[]) => Partial) | (() => Partial)) | null)[], unknown, unknown, () => {}, boolean>; showAfter: import('element-plus/es/utils/index').EpPropFinalized; hideAfter: import('element-plus/es/utils/index').EpPropFinalized; autoClose: import('element-plus/es/utils/index').EpPropFinalized; className: StringConstructor; popperClass: StringConstructor; 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 TooltipPropKeys = Array; export declare const tooltipPropKeys: TooltipPropKeys;