import { ReactNode } from 'react'; import { TextStyle, ViewStyle } from 'react-native'; export type ToastType = 'success' | 'error' | 'info' | 'warning'; export type ToastPosition = 'top' | 'bottom'; export type ToastDismiss = 'auto' | 'manual' | 'both'; export type SwipeDirection = 'horizontal' | 'vertical' | 'both'; export interface ToastProps { visible: boolean; onHide: () => void; text: string; description?: string; type?: ToastType; position?: ToastPosition; dismiss?: ToastDismiss; duration?: number; swipeable?: boolean; swipeDirection?: SwipeDirection; swipeThreshold?: number; icon?: ReactNode; closeIcon?: ReactNode; backgroundColor?: string; textColor?: string; descriptionColor?: string; shadowColor?: string; borderRadius?: number; style?: ViewStyle; textStyle?: TextStyle; descriptionStyle?: TextStyle; iconContainerStyle?: ViewStyle; closeButtonStyle?: ViewStyle; overlayStyle?: ViewStyle; } //# sourceMappingURL=Toast.types.d.ts.map