/** * The sidebar's footer strip, which no floating element may cover. * * The footer sits at the bottom of the sidebar, which is the bottom of the * window — so reserving it here, in viewport coordinates, is the same strip * the layout keeps clear in flow (`$sidebar-footer-height` in * sidebarTree.component.scss; the two are meant to move together). Popups are * `position: fixed` at a high z-index, so nothing but this stops them from * floating over it. */ export declare const SIDEBAR_FOOTER_INSET = 26; /** * Nudges a floating element back inside the window. * * The single point every context menu and popup in this plugin goes through — * see piège #30. It lives here rather than as a private static on * SidebarPlusTreeComponent because the SFTP browser needs it too, and a second * copy is exactly how one of them ends up quietly not being fixed. * * Call it *after* Angular has rendered the element at its real size * (ngAfterViewChecked + a dirty flag), not when the coordinates are first set: * before rendering, getBoundingClientRect() reports the size of whatever the * element used to be, or nothing at all. */ export declare function clampInViewport(el: HTMLElement, x: number, y: number, bottomInset?: number): { x: number; y: number; };