import type { FC, PropsWithChildren } from 'react'; export interface StrokeHighlighterProps extends PropsWithChildren, React.SVGProps { /** * The stacking order of the highlighter. See dia.HighlighterView for supported values. */ readonly layer?: string; /** * The space between the stroke and the element */ readonly padding?: number; /** * The stroke's border radius on the x-axis */ readonly rx?: number; /** * The stroke's border radius on the y-axis */ readonly ry?: number; /** * Draw the stroke by using the first subpath of the target el compound path. */ readonly useFirstSubpath?: boolean; /** * When enabled the stroke width of the highlighter is not dependent on the transformations of the paper (e.g. zoom level). It defaults to false. */ readonly nonScalingStroke?: boolean; /** * If the highlighter is disabled or not. */ readonly isHidden?: boolean; } /** * Stroke highlighter component. * Adds a stroke around an arbitrary cell view's SVG node. * @see https://docs.jointjs.com/api/highlighters/#stroke * @group Components * @example * ```tsx * import { Highlighter } from '@joint/react' * return * ``` */ export declare const Stroke: FC;