import { ComponentOptionsMixin } from 'vue'; import { ComponentProvideOptions } from 'vue'; import { DefineComponent } from 'vue'; import { ExtractPropTypes } from 'vue'; import { PropType } from 'vue'; import { PublicProps } from 'vue'; import { Side } from '@floating-ui/vue'; declare type __VLS_NonUndefinedable = T extends undefined ? never : T; declare type __VLS_Prettify = { [K in keyof T]: T[K]; } & {}; declare type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: PropType<__VLS_NonUndefinedable>; } : { type: PropType; required: true; }; }; declare type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; }; declare type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; }; declare const _default: __VLS_WithTemplateSlots, { disableTeleport: boolean; isDisabled: boolean; isOpen: boolean; side: string; teleportTo: string; text: string; }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly, { disableTeleport: boolean; isDisabled: boolean; isOpen: boolean; side: string; teleportTo: string; text: string; }>>> & Readonly<{}>, { text: string; isDisabled: boolean; teleportTo: string | HTMLElement; isOpen: boolean; disableTeleport: boolean; side: Side; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, Readonly & TooltipSlots>; export default _default; export declare interface TooltipProps { /** * Disables teleporting the popover menu to an external element * @default false */ disableTeleport?: boolean; /** * Sets the placement of the menu * @default 'top' */ side?: TooltipSide; /** * Disables the tooltip * @default false */ isDisabled?: boolean; /** * Sets if the menu is open. If not set from the parent context, the menu will be controlled internally. * @default false */ isOpen?: boolean; /** * The query selector where the tooltip should be teleported * @default '#stash-menus-mount-node' */ teleportTo?: string | HTMLElement; /** * String content to display within the tooltip * @default '' */ text?: string; } export declare type TooltipSide = Side; export declare interface TooltipSlots { /** * The content to display in the tooltip. This may be text node, an element, or a component. */ content: any; /** * The default slot is the element or component to which the tooltip will be anchored. */ default: any; /** * A slot for the primary icon. This icon will be displayed before the text or content. */ icon: any; /** * A slot for the secondary icon. This icon will be displayed after the text or content. */ secondaryIcon: any; } export { }