import Component from '../../components/tooltip/tooltip.component.js'; import { type EventName } from '@lit/react'; import type { TerraShowEvent } from '../../events/events.js'; import type { TerraAfterShowEvent } from '../../events/events.js'; import type { TerraHideEvent } from '../../events/events.js'; import type { TerraAfterHideEvent } from '../../events/events.js'; export type { TerraShowEvent } from '../../events/events.js'; export type { TerraAfterShowEvent } from '../../events/events.js'; export type { TerraHideEvent } from '../../events/events.js'; export type { TerraAfterHideEvent } from '../../events/events.js'; /** * @summary Tooltips display brief, contextual help on hover or focus. Popovers show richer supporting content. * @documentation https://terra-ui.netlify.app/components/tooltip * @status stable * @since 1.0 * * @dependency terra-popup * * @slot - The tooltip or popover target element. Avoid slotting in more than one element, as subsequent ones will be ignored. * @slot content - The content to render in the tooltip or popover. Alternatively, you can use the `content` attribute. * @slot image - Optional image slot for popovers. When provided, the image will span the full width of the popover. * * @event terra-show - Emitted when the tooltip or popover begins to show. * @event terra-after-show - Emitted after it has shown and all animations are complete. * @event terra-hide - Emitted when the tooltip or popover begins to hide. * @event terra-after-hide - Emitted after it has hidden and all animations are complete. * * @csspart base - The component's base wrapper, an `` element. * @csspart base__popup - The popup's exported `popup` part. Use this to target the tooltip's popup container. * @csspart base__arrow - The popup's exported `arrow` part. Use this to target the tooltip's arrow. * @csspart body - The tooltip or popover body where its content is rendered. * * @cssproperty --max-width - The maximum width of the tooltip before its content will wrap. * @cssproperty --hide-delay - The amount of time to wait before hiding the tooltip when hovering. * @cssproperty --show-delay - The amount of time to wait before showing the tooltip when hovering. * * @animation tooltip.show - The animation to use when showing the tooltip. * @animation tooltip.hide - The animation to use when hiding the tooltip. */ declare const reactWrapper: import("@lit/react").ReactWebComponent; onTerraAfterShow: EventName; onTerraHide: EventName; onTerraAfterHide: EventName; }>; export default reactWrapper;