/** * Worklet-safe SVG path builder for a bar with per-corner rounding. * * Bars round only their DATA-END corners and stay flat on the baseline (per the * data-viz mark spec: "4px rounded data-ends anchored to the baseline"). Which * corners are rounded is passed as 0/1 multipliers (`tl,tr,br,bl`) decided by the * caller from orientation + sign, so the worklet itself branches on nothing. * * The radius is clamped to half the (animated) width/height, so it collapses to a * sharp rectangle while a bar grows from zero and never over-rounds a thin bar. * * Marked `'worklet'` so it can be called from a reanimated `useAnimatedProps` * callback on the UI thread. */ export declare function roundedBarPath(x: number, y: number, w: number, h: number, radius: number, tl: number, tr: number, br: number, bl: number): string; /** * Corner multipliers `{tl,tr,br,bl}` for a bar, given orientation and sign. * The data end (top of a positive column, bottom of a negative one, etc.) gets * the radius; the baseline end stays square. */ export declare function barCornerMask(orientation: 'vertical' | 'horizontal', isPositive: boolean): { tl: number; tr: number; br: number; bl: number; };