import { default as React } from 'react'; /** * BalloonTip — the classic Windows XP tray notification bubble (#118). * * A presentational primitive (no providers required): light-yellow rounded * bubble with a diamond tail, a bold title, body text, and a close box. It is * `position: relative` by default so it flows in normal layout (gallery, docs); * the tray notification host (`TrayProvider`) wraps it in a fixed-position * container anchored above the taskbar. Exported from `/components`. * * For the driven, queued experience (auto-fade, notify sound, events) use * `useTray().notify(...)` instead of rendering this directly. */ export interface BalloonTipProps { /** Bold heading line (XP blue). */ title: React.ReactNode; /** Body text; `children` is used when `body` is omitted. */ body?: React.ReactNode; children?: React.ReactNode; /** XPIcon key shown at 32px on the left; omit for a text-only balloon. */ icon?: string; /** Close-box handler. When omitted, the close box is hidden. */ onClose?: () => void; /** Click handler for the bubble body (excludes the close box). */ onClick?: () => void; /** Distance in px from the right edge to the tail (anchors it to a tray icon). */ tailOffset?: number; /** Whether to draw the downward diamond tail. Default true. */ showTail?: boolean; /** Accessible label for the close box. Default "Close". */ closeLabel?: string; className?: string; style?: React.CSSProperties; } export declare const BalloonTip: React.FC; export default BalloonTip;