@shopify/react-native-skia
Version:
High-performance React Native Graphics using Skia
11 lines (10 loc) • 728 B
TypeScript
import type { ExtrapolationType, SharedValue } from "react-native-reanimated";
import type { SkPath, SkPoint } from "../../skia/types";
export declare const notifyChange: <T>(value: SharedValue<T>) => void;
export declare const usePathValue: (cb: (path: SkPath) => void, init?: SkPath) => SharedValue<SkPath>;
export declare const useClock: () => SharedValue<number>;
export declare const usePathInterpolation: (value: SharedValue<number>, input: number[], outputRange: SkPath[], options?: ExtrapolationType) => SharedValue<SkPath>;
export declare const useVectorInterpolation: (value: SharedValue<number>, input: number[], outputRange: SkPoint[], options?: ExtrapolationType) => SharedValue<{
x: number;
y: number;
}>;