import { TileryJunction as JunctionType, TilerySizeResolutionContext } from 'tilery/internal'; /** * Props for the {@link TileryJunction} component. */ export type JunctionProps = { /** The junction model object describing the intersection point and kind. */ junction: JunctionType; /** When true the handle is non-interactive and renders a default cursor. */ disabled?: boolean; /** * Side-length of the square pointer-capture hit target in pixels. * @defaultValue 24 */ hitSize?: number; /** * Called when the junction is dragged. Receives the new x/y percentages * within the container and returns `true` if the position was applied. */ onDrag: (junctionId: string, xPercent: number, yPercent: number, input: 'pointer', sizeContext?: TilerySizeResolutionContext) => boolean | void; /** Called when this junction's pointer resize starts or ends. */ onActiveChange?: (junction: JunctionType, active: boolean) => void; /** Called after a drag interaction ends. */ onDragEnd?: () => void; /** Ref to the layout container used to compute percentage positions. */ containerRef: React.RefObject; }; /** * Pointer-draggable corner handle positioned at the intersection of a * horizontal and a vertical divider. Dragging it simultaneously adjusts * both dividers, keyed to the `junction.kind` layout topology. */ export declare const TileryJunction: import('react').MemoExoticComponent<({ junction, disabled, hitSize, onDrag, onActiveChange, onDragEnd, containerRef, }: JunctionProps) => import("react").JSX.Element>; //# sourceMappingURL=junction.d.ts.map