import { PropType, RendererElement } from 'vue'; import type { Placement } from '@popperjs/core'; import type { Placements, Triggers } from '../../types'; declare const CTooltip: import("vue").DefineComponent HTMLElement) | string>; default: string; }; /** * Content for your component. If you want to pass non-string value please use dedicated slot `` */ content: StringConstructor; /** * The delay for displaying and hiding the popover (in milliseconds). When a numerical value is provided, the delay applies to both the hide and show actions. The object structure for specifying the delay is as follows: delay: `{ 'show': 500, 'hide': 100 }`. * * @since 4.9.0 */ delay: { type: PropType; default: number; }; /** * Specify the desired order of fallback placements by providing a list of placements as an array. The placements should be prioritized based on preference. * * @since 4.9.0 */ fallbackPlacements: { type: PropType; default: () => string[]; validator: (value: Placements | Placements[]) => boolean; }; /** * Offset of the tooltip relative to its target. */ offset: { type: ArrayConstructor; default: () => number[]; }; /** * Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property. */ placement: { type: PropType; default: string; validator: (value: string) => boolean; }; /** * Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them. * * @values 'click', 'focus', 'hover' */ trigger: { type: PropType; default: () => string[]; validator: (value: Triggers | Triggers[]) => boolean; }; /** * Toggle the visibility of tooltip component. */ visible: BooleanConstructor; }>, () => (import("vue").VNode | import("vue").VNode[] | undefined)[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show")[], "hide" | "show", import("vue").PublicProps, Readonly HTMLElement) | string>; default: string; }; /** * Content for your component. If you want to pass non-string value please use dedicated slot `` */ content: StringConstructor; /** * The delay for displaying and hiding the popover (in milliseconds). When a numerical value is provided, the delay applies to both the hide and show actions. The object structure for specifying the delay is as follows: delay: `{ 'show': 500, 'hide': 100 }`. * * @since 4.9.0 */ delay: { type: PropType; default: number; }; /** * Specify the desired order of fallback placements by providing a list of placements as an array. The placements should be prioritized based on preference. * * @since 4.9.0 */ fallbackPlacements: { type: PropType; default: () => string[]; validator: (value: Placements | Placements[]) => boolean; }; /** * Offset of the tooltip relative to its target. */ offset: { type: ArrayConstructor; default: () => number[]; }; /** * Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property. */ placement: { type: PropType; default: string; validator: (value: string) => boolean; }; /** * Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them. * * @values 'click', 'focus', 'hover' */ trigger: { type: PropType; default: () => string[]; validator: (value: Triggers | Triggers[]) => boolean; }; /** * Toggle the visibility of tooltip component. */ visible: BooleanConstructor; }>> & Readonly<{ onHide?: ((...args: any[]) => any) | undefined; onShow?: ((...args: any[]) => any) | undefined; }>, { visible: boolean; container: string | HTMLElement | (() => HTMLElement); placement: Placement; offset: unknown[]; trigger: Triggers | Triggers[]; animation: boolean; delay: number | { show: number; hide: number; }; fallbackPlacements: string | string[]; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export { CTooltip };