import { type ComponentPropsWithoutRef } from 'react'; /** * @internal */ export interface ResizeSeparatorProps extends Omit, 'onDrag' | 'onDragEnd' | 'onDragStart'> { /** * Id of the element whose size the separator controls. */ controls: string; /** * Current size of the controlled element, in pixels. */ value: number; /** * Smallest size the controlled element can take, in pixels. */ min: number; /** * Largest size the controlled element can take, in pixels. `Infinity` before * the container is measured. */ max: number; /** * Human readable form of `value`. */ valueText: string; /** * Called when the user starts dragging the separator. */ onDragStart?: () => void; /** * Called while dragging, with the horizontal movement in pixels. */ onDrag?: (movement: number) => void; /** * Called when the user stops dragging the separator. */ onDragEnd?: () => void; } /** * Draggable and keyboard focusable separator between two resizable areas. * * Follows the Window Splitter ARIA pattern. * https://www.w3.org/WAI/ARIA/apg/patterns/windowsplitter/ * * @internal */ export declare const ResizeSeparator: (props: ResizeSeparatorProps & import("react").RefAttributes) => import("react").ReactElement | null; //# sourceMappingURL=ResizeSeparator.d.ts.map