import type { MutableRefObject } from 'react'; import type { NativeSyntheticEvent } from 'react-native'; import type { _ViewProps } from '../mpx-view'; export type AnimationType = 'api' | 'animation' | 'transition' | 'none'; export default function useAnimationHooks(props: _ViewProps & { enableAnimation?: boolean | AnimationType; layoutRef: MutableRefObject; transitionend?: (event: NativeSyntheticEvent | unknown) => void; }): { enableStyleAnimation: boolean; animationStyle?: undefined; } | { enableStyleAnimation: boolean; animationStyle: import("../types/common").ExtendedViewStyle; };