import { TileryEdge, TileryPanelId, TilerySizeResolutionContext } from 'tilery/internal'; /** * Props for the {@link EdgeResizeHandle} component. */ export type EdgeResizeHandleProps = { /** ID of the edge panel this handle resizes. */ panelId: TileryPanelId; /** Which edge of the container the panel is pinned to. */ side: TileryEdge; /** When true the handle is non-interactive and renders a default cursor. */ disabled?: boolean; /** * Thickness of the pointer-capture hit target in pixels. * @defaultValue 24 */ hitSize?: number; /** * Custom inline styles that override the auto-computed placement for * the handle element. */ placementStyle?: React.CSSProperties; /** * Called on every pointer-move while dragging. Receives the new size as a * percentage of the container along the relevant axis. */ onDrag: (panelId: TileryPanelId, size: number, input: 'pointer', sizeContext?: TilerySizeResolutionContext) => boolean | void; /** Called after a drag interaction ends. */ onDragEnd?: () => void; /** Ref to the layout container used to compute percentage sizes. */ containerRef: React.RefObject; }; /** * Thin invisible strip rendered along the inner edge of a pinned edge panel. * Pointer-dragging it reports new size percentages so the layout engine can * resize the panel in real time. */ export declare function EdgeResizeHandle({ panelId, side, disabled, hitSize, placementStyle, onDrag, onDragEnd, containerRef, }: EdgeResizeHandleProps): import("react").JSX.Element; //# sourceMappingURL=edge-resize-handle.d.ts.map