import type { SkFont } from "@shopify/react-native-skia"; import { type ComposedGesture, type GestureType } from "react-native-gesture-handler"; import { type SharedValue } from "react-native-reanimated"; import type { ResolvedYAxisConfig } from "../core/resolveConfig"; import type { ChartEngineLayout } from "../core/useLiveChartEngine"; import { type YAxisEntry } from "../draw/grid"; import type { ChartPadding } from "../draw/line"; /** Preserve private scale state across gesture/axis toggles on a mounted chart. */ export declare function useYAxisScaleValue(external?: SharedValue): SharedValue; /** The reserved gutter, or the actual measured price column when it floats. */ export declare function isYAxisScaleHit(x: number, y: number, width: number, height: number, padding: ChartPadding, side: "left" | "right", floating: boolean, labelRightMargin: number | undefined, entries: readonly YAxisEntry[], font: SkFont): boolean; /** Log-space clamping avoids overflow even for very large drag translations. */ export declare function draggedYAxisScale(start: number, dy: number, distance: number, min: number, max: number): number; type Options = { engine: Pick & { wake?: () => void; }; padding: ChartPadding; axis: ResolvedYAxisConfig | null; floating?: boolean; entries: SharedValue | null; font: SkFont; scale: SharedValue; /** Existing plot gesture graph, including pinch. */ gesture: GestureType | ComposedGesture; /** Interactive chart overlays retain their normal tap/drag behavior. */ deferHit?: (x: number, y: number) => boolean; onStart?: () => void; active?: SharedValue; }; /** Owns gutter touches at touch-down; fails immediately everywhere else. */ export declare function useYAxisScaleGesture({ engine, padding, axis, floating, entries, font, scale, gesture, deferHit, onStart, active, }: Options): import("react-native-gesture-handler/lib/typescript/handlers/gestures/gesture").BaseGesture> | import("react-native-gesture-handler/lib/typescript/handlers/gestures/gesture").BaseGesture> | import("react-native-gesture-handler/lib/typescript/handlers/gestures/gesture").BaseGesture | import("react-native-gesture-handler/lib/typescript/handlers/gestures/gesture").BaseGesture | import("react-native-gesture-handler/lib/typescript/handlers/gestures/gesture").BaseGesture | import("react-native-gesture-handler/lib/typescript/handlers/gestures/gesture").BaseGesture | import("react-native-gesture-handler/lib/typescript/handlers/gestures/gesture").BaseGesture | import("react-native-gesture-handler/lib/typescript/handlers/gestures/gesture").BaseGesture | import("react-native-gesture-handler/lib/typescript/handlers/gestures/gesture").BaseGesture | import("react-native-gesture-handler/lib/typescript/handlers/gestures/gesture").BaseGesture | import("react-native-gesture-handler/lib/typescript/handlers/gestures/gestureComposition").ComposedGesture; export {}; //# sourceMappingURL=useYAxisScaleGesture.d.ts.map