import type { StyleProp, TextStyle, ViewStyle } from 'react-native'; import type { Page } from '../components/Page'; export type OnboardingProps = { children?: React.ReactNode[]; nextLabel?: string | React.ReactNode; skipLabel?: string | React.ReactNode; doneLabel?: string | React.ReactNode; showSkip?: boolean; showNext?: boolean; showDone?: boolean; onDone?: () => void; onSkip?: () => void; showPagination?: boolean; scrollEnabled?: boolean; customFooter?: (props: { nextPage: () => void }) => React.ReactNode; paginationContainerStyle?: StyleProp; buttonRightContainerStyle?: StyleProp; buttonLeftContainerStyle?: StyleProp; dotsContainerStyle?: StyleProp; doneLabelStyle?: StyleProp; skipLabelStyle?: StyleProp; skipButtonContainerStyle?: StyleProp; nextButtonContainerStyle?: StyleProp; doneButtonContainerStyle?: StyleProp; skipButtonPosition?: 'top-left' | 'top-right'; nextLabelStyle?: StyleProp; containerStyle?: StyleProp; imageContainerStyle?: StyleProp; titleContainerStyle?: StyleProp; titleStyle?: StyleProp; subtitleStyle?: StyleProp; paginationPosition?: 'top' | 'bottom'; scrollAnimationDuration?: number; useNativeDriver?: boolean; width?: number; color?: string; pages?: Page[]; swap?: boolean; } & ( | { children?: React.ReactNode[]; } | { pages: Page[] } );