/** Where the trigger sits on screen: the arrow points at `x`, the bubble hangs off `top` or `bottom`. */ interface Anchor { x: number; top: number; bottom: number; } interface Placement { side: 'above' | 'below'; /** Screen-space `top` of the box the bubble grows out of. */ top: number; } /** * Above the trigger by default, as the Figma tip is drawn; below it when a tall * body (translated copy, large text, a short landscape window) would run off * the top. Pinned to the top edge when neither side has room. */ export declare function placeTooltip({ anchor, bodyHeight, topEdge, bottomEdge, }: { anchor: Anchor; bodyHeight: number; topEdge: number; bottomEdge: number; }): Placement; export declare function InfoTooltip({ title, description, }: { title: string; description: string; }): import("react").JSX.Element; export {}; //# sourceMappingURL=InfoTooltip.d.ts.map