import type { ClassValue } from 'svelte/elements'; import type { FloatingPlacement } from '../floating'; import type { TooltipVisibility } from './tooltip-styles'; interface $$__sveltets_2_IsomorphicComponent = any, Events extends Record = any, Slots extends Record = any, Exports = {}, Bindings = string> { new (options: import('svelte').ComponentConstructorOptions): import('svelte').SvelteComponent & { $$bindings?: Bindings; } & Exports; (internal: unknown, props: Props & { $$events?: Events; $$slots?: Slots; }): Exports & { $set?: any; $on?: any; }; z_$$bindings?: Bindings; } type $$__sveltets_2_PropsWithChildren = Props & (Slots extends { default: any; } ? Props extends Record ? any : { children?: any; } : {}); /** * The tooltip is used to provide contextual information to users * for specific elements. * * ```svelte * *

* This element needs some additional context. * *

*

This is the tooltip text!

*
* ``` */ declare const Tooltip: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{ /** * The desired location for the tooltip, may be computed to a different * location depending on layout. */ location?: FloatingPlacement; /** * If `visible`, the tooltip will always render. When `invisible` the tooltip * will never render. When `undefined` the tooltip will only render on mouse enter and focus */ state?: TooltipVisibility | undefined; /** * If state is `undefined`, the tooltip only renders on mouse enter and focus. * On mouse enter, this delay is present before the tooltip is shown. * There is no delay for focus. */ hoverDelayMS?: number; /** Additional CSS classes to pass to the tooltip text element. */ cx?: ClassValue; /** Additional CSS classes to pass to the tooltip target wrapper element. */ targetClass?: ClassValue; }, { default: { tooltipID: string; }; description: {}; }>, { [evt: string]: CustomEvent; }, { default: { tooltipID: string; }; description: {}; }, {}, string>; type Tooltip = InstanceType; export default Tooltip;