import type { SharedValue } from 'react-native-reanimated'; import { createContext } from '@cdx-ui/utils'; export interface DialogAnimationContextValue { progress: SharedValue; isDragging: SharedValue; isGestureReleaseAnimationRunning: SharedValue; } export const [DialogAnimationProvider, useDialogAnimation] = createContext('DialogAnimationContext', { strict: false, });