import { Component } from 'react'; import type { StyleProp, TextStyle, ViewStyle } from 'react-native'; export interface EventWhen { date: string; time: string; textDate?: string; textTime?: string; } export interface EventInfo { when: EventWhen; where: string; why: string; } export interface EventBlockProps { textStyle?: StyleProp; titleStyle?: StyleProp; containerStyle?: StyleProp; eventInfo: EventInfo; } export default class EventBlock extends Component { shouldComponentUpdate(nextProps: EventBlockProps): boolean; render(): JSX.Element; }