import { EventEmitter } from '../../stencil-public-runtime'; import type { HoverCardSide, HoverCardAlign } from './seki-hover-card'; /** * Hover Card Content Component * * The floating content panel that displays when the hover card is open. * Handles positioning, viewport boundary collision, arrow placement, * and interaction handlers to maintain open state while user interacts with content. * * @slot - The hover card content (rich content like user profiles, link previews) * * @part content - The content container * @part arrow - The arrow/pointer element * * @example * ```html * *
* Avatar *

John Doe

*

Software Engineer

*
*
* ``` */ export declare class SekiHoverCardContent { el: HTMLElement; private contentRef?; private clickOutsideHandler?; /** * Override the side positioning from the parent container */ side?: HoverCardSide; /** * Override the alignment from the parent container */ align?: HoverCardAlign; /** * Distance from the trigger element in pixels * @default 8 */ sideOffset: number; /** * Offset along the alignment axis in pixels * @default 0 */ alignOffset: number; /** * Internal open state */ _isOpen: boolean; /** * The actual side after collision detection (string primitive — safe as @State, no infinite loop) */ _actualSide: HoverCardSide; /** * Emitted to request closing the hover card (with delay) */ requestClose: EventEmitter; /** * Emitted to cancel a pending close timer */ cancelClose: EventEmitter; /** * Detect if the current device is a touch device */ private isTouchDevice; /** * Get the hover card context from the parent container */ private getContext; private hasLoaded; private hoverCard; connectedCallback(): void; componentDidLoad(): void; componentDidRender(): void; disconnectedCallback(): void; /** * Setup click-outside listener for touch devices to close on tap outside */ private setupClickOutsideListener; /** * Remove click-outside listener */ private removeClickOutsideListener; /** * Calculate and update the position of the content */ private updatePosition; /** * Handle mouse enter - cancel any pending close */ private handleMouseEnter; /** * Handle mouse leave - request close */ private handleMouseLeave; /** * Handle focus within - cancel close to keep open while interacting */ private handleFocusIn; /** * Handle focus out - request close unless focus moves within hover card */ private handleFocusOut; render(): any; }