/*! Strand UI | MIT License | dillingerstaffing.com */ import { type ComponentChildren, type JSX } from "preact"; export interface TooltipProps extends Omit, "content"> { content: string; position?: "top" | "right" | "bottom" | "left"; /** Milliseconds before showing. */ delay?: number; /** Controlled visibility. */ open?: boolean; /** Visibility to start with when uncontrolled. */ defaultOpen?: boolean; /** Called with the next visibility on hover, focus, Escape, and the delay elapsing. */ onOpenChange?: (open: boolean) => void; /** The trigger. A single element receives `aria-describedby`; anything else is described through the wrapper. */ children?: ComponentChildren; } /** * Text popup shown on hover or focus of its trigger; Escape dismisses it. * * @example * */ export declare const Tooltip: import("preact").FunctionalComponent & { ref?: import("preact").Ref | undefined; }>; //# sourceMappingURL=Tooltip.d.ts.map