UNPKG

react-native-reanimated

Version:

More powerful alternative to Animated library for React Native.

20 lines 865 B
import type { DefaultStyle } from '../hook/commonTypes'; declare global { namespace jest { interface Matchers<R> { toHaveAnimatedStyle(style: Record<string, unknown>[] | Record<string, unknown>, config?: { shouldMatchAllProps?: boolean; }): R; toHaveAnimatedProps(props: Record<string, unknown>): R; } } } export declare const withReanimatedTimer: (animationTest: () => void) => void; export declare const advanceAnimationByTime: (time?: number) => void; export declare const advanceAnimationByFrame: (count: number) => void; export declare const setUpTests: (userFramerateConfig?: {}) => void; export declare const getAnimatedStyle: (component: { props: Record<string, unknown>; }) => DefaultStyle; export { cloneWorklet, worklet } from './common'; //# sourceMappingURL=index.d.ts.map