export interface QuickBarPositionArgs { readonly anchorRect: { top: number; bottom: number; left: number; right: number; }; readonly barHeight: number; /** Top edge of the visible viewport, in the SAME coordinate frame as * anchorRect — pass 0 when anchorRect is already viewport-relative * (position:fixed / shadow-host mount) or when the containing block * doesn't scroll independently (position:absolute inside a * non-scrolling wrapper — ReactionQuickBar's #container case). */ readonly viewportTop: number; readonly isOwn: boolean; readonly gap?: number; } export interface QuickBarPosition { readonly top: number; readonly placement: 'above' | 'below'; /** Set for a non-own message (anchor by left edge). Undefined when `right` is set. */ readonly left?: number; /** Set for an own message (anchor by right edge, bar hugs the bubble's right side). Undefined when `left` is set. */ readonly right?: number; } export declare function computeQuickBarPosition(args: QuickBarPositionArgs): QuickBarPosition; //# sourceMappingURL=reaction-quick-bar-position.d.ts.map