import type { JSX, ValidComponent } from "@solidjs/web"; import type { BaseUIComponentProps } from "../../internals/types.js"; import { type TooltipAlign, type TooltipSide } from "../tooltip-positioner-context.js"; import { type TooltipInstantType } from "../tooltip-root-context.js"; export interface TooltipArrowState { open: boolean; side: TooltipSide; align: TooltipAlign; uncentered: boolean; instant: TooltipInstantType; } export interface TooltipArrowProps extends BaseUIComponentProps<"div", TooltipArrowState> { /** * Tag/component to render. Defaults to `"div"`. Replaces the * pre-spike `render` prop (axis G). */ as?: ValidComponent; } /** * Displays an element positioned against the tooltip anchor. Renders a * `