export type ResizeHandleProps = { /** The accessible name, for example "Resize chat". */ label: string; /** The id of the panel this handle resizes. */ controls: string; /** The panel's width in pixels. */ value: number; min: number; /** The widest the panel may be now, for example what the window leaves room for. */ max: number; /** * Which edge of the panel the handle sits on. `start` is a panel on the * right with the handle on its left edge: dragging left widens it. */ edge: "start" | "end"; /** Every intermediate width while dragging; apply it without re-rendering if you can. */ onResize?: ((width: number) => void) | undefined; /** The chosen width: once per drag, and on every key press. */ onResizeEnd: (width: number) => void; /** Double-click: back to the default width. */ onReset?: (() => void) | undefined; /** Enter: hide the panel, as the window splitter pattern collapses its pane. */ onCollapse?: (() => void) | undefined; className?: string | undefined; }; /** * A vertical window splitter on a panel's edge. Place it inside the panel, * which must be `position: relative`. At rest it is only the panel's own * border; hover thickens the line, a drag shows it in the brand tint and * keyboard focus shows it in the accent colour. It is a focusable `separator` whose * value is the panel width: the arrow keys move it (Shift for larger steps), * Home and End go to the narrowest and widest, and Enter hides the panel when * it can be hidden. While dragging, a transparent layer covers the page so an * iframe under the pointer (a Site) cannot swallow the movement. Coarse * pointers get a 44px target. */ export declare function ResizeHandle({ label, controls, value, min, max, edge, onResize, onResizeEnd, onReset, onCollapse, className, }: ResizeHandleProps): import("react").JSX.Element;