import React from 'react'; import type { SharedValue } from 'react-native-reanimated'; import type { SizeVector, Vector } from '../../commons/types'; export type GalleryContextType = { rootSize: SizeVector>; rootChildSize: SizeVector>; translate: Vector>; scale: SharedValue; scroll: SharedValue; scrollOffset: SharedValue; activeIndex: SharedValue; isScrolling: SharedValue; hasZoomed: SharedValue; overflow: SharedValue<'hidden' | 'visible'>; hideAdjacentItems: SharedValue; }; export const GalleryContext = React.createContext( {} as GalleryContextType );