import { type HTMLAttributes, type RendererElement, type VNode } from 'vue'; import { type Placement } from '../../helpers/FloatingUi.vue'; import { type OUIAProps } from '../../helpers/ouia'; interface Props extends OUIAProps, /* @vue-ignore */ Omit { /** Element or selector where to render the floating menu */ appendTo?: 'inline' | string | RendererElement | null | undefined; /** Id of the tooltip, generated if not set */ id?: string; /** Tooltip position. The 'auto' position chooses the side with the most space. */ position?: Placement; /** A combination of the strings 'mouseenter', 'focus' and 'click', or 'manual' to show the tooltip only through v-model:visible */ trigger?: string; /** * The trigger element, when it cannot be wrapped by the tooltip: an element, a selector or a function returning it. * It replaces the element of the default slot. */ triggerRef?: HTMLElement | string | (() => HTMLElement | null | undefined) | null; /** Flag to indicate that the text content is left aligned */ leftAligned?: boolean; /** Delay in ms before the tooltip appears */ entryDelay?: number; /** Delay in ms before the tooltip disappears, Avoid passing in a value of "0", as users should * be given ample time to move their mouse from the trigger to the tooltip content without the content * being hidden. */ exitDelay?: number; /** Distance of the tooltip to its target */ distance?: number | string; /** * aria-labelledby or aria-describedby for tooltip. * The trigger gets the aria attribute, and the corresponding id in the form of 'pf-tooltip-#' is added to the content container. * If you don't want that or prefer to add the aria attribute yourself on the trigger, set aria to 'none'. */ aria?: 'describedby' | 'labelledby' | 'none'; /** * Determines whether the tooltip is an aria-live region. Defaults to 'polite' with a triggerRef, to ensure the * tooltip content is announced to assistive technologies, and to 'off' otherwise. */ ariaLive?: 'off' | 'polite'; /** CSS fade transition animation duration */ animationDuration?: number; /** Minimum width of the tooltip. If set to "trigger", the minimum width will be set to the reference element width. */ minWidth?: string | 'trigger' | 'auto'; /** Maximum width of the tooltip, a number of pixels or a CSS length */ maxWidth?: number | string; /** z-index of the tooltip */ zIndex?: number; /** Tooltip content, replaced by the content slot */ content?: string; /** If true, tries to keep the tooltip in view by flipping it if necessary */ flip?: boolean; } declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: __VLS_WithSlots>; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:visible": (value: boolean) => any; } & { hidden: () => any; }, string, import("vue").PublicProps, Readonly & Readonly<{ onHidden?: (() => any) | undefined; "onUpdate:visible"?: ((value: boolean) => any) | undefined; }>, { ouiaSafe: boolean; trigger: string; flip: boolean; zIndex: number; animationDuration: number; position: Placement; distance: string | number; entryDelay: number; exitDelay: number; aria: "none" | "describedby" | "labelledby"; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, { /** The trigger of the tooltip, unless triggerRef is set */ default?: (props?: Record) => VNode[]; /** Content of the tooltip, replacing the content prop */ content?: (props?: Record) => VNode[]; }>; type __VLS_WithSlots = T & { new (): { $slots: S; }; }; //# sourceMappingURL=Tooltip.vue.d.ts.map