import type { MutableRefObject } from 'react'; import { ResizeHandles, ResizeHandle, Panel } from '../types/shared-panel-types.js'; /** Get a sorted list of all the resize handles registered for the panels. */ export declare function getSortedResizeHandles(resizeHandles: Record): ResizeHandles; /** Get the resize handle corresponding to the given panel. */ export declare function getResizeHandle(panel: Panel, sortedResizeHandles: ResizeHandle[]): ResizeHandle | null; /** * Due to panels being rendered conditionally, the handle order does not necessarily match * the index in the sorted array. We need the index to get the corresponding panels before and * after the resize handle. */ export declare const getActualHandleIndex: (sortedResizeHandles: MutableRefObject, handleOrder: number) => number;