import { type SkFont } from "@shopify/react-native-skia"; import { type SharedValue } from "react-native-reanimated"; import type { ChartEngineWithLiveValue } from "../core/useLiveChartEngine"; import { type ChartPadding } from "../draw/line"; import type { BadgeMetrics, BadgeVariant, LiveChartPalette, Momentum } from "../types"; export declare function useBadge(engine: ChartEngineWithLiveValue, padding: ChartPadding, palette: LiveChartPalette, formatValue: (v: number) => string, font: SkFont, variant?: BadgeVariant, showTail?: boolean, momentum?: SharedValue, position?: "right" | "left", background?: string, badgeMetrics?: BadgeMetrics, badgeColorSpeed?: number, /** * Floating-axis mode: render a tail-less pill right-aligned at the canvas edge * (over a full-width plot) instead of inside a reserved right gutter. See * {@link YAxisConfig.float}. */ float?: boolean, /** * Smoothed value at the visible window's right edge (engine `edgeValue`). When * {@link followViewEdge} is set, the badge tracks this instead of the live value. */ edgeValue?: SharedValue, /** Track the visible window's right-edge price while scrolled back. */ followViewEdge?: boolean, /** * Pill corner radius in pixels. `undefined` → capsule (`pillHeight / 2`). * Clamped to `[0, pillHeight / 2]`. The pointed tail (right-gutter mode) keeps * anchoring on the vertical center regardless of this value. */ radius?: number, /** Label text color override; falls back to the variant/theme rule. */ textColorOverride?: string): import("react-native-reanimated").DerivedValue<{ path: import("@shopify/react-native-skia").SkPath; textX: number; textY: number; text: string; bgColor: string; textColor: string; }>; //# sourceMappingURL=useBadge.d.ts.map