/** * type: 1 * - no detail button * - link phone * * type 2 * - view detail button * - link phone * * type 3 * - no detail button * - button phone * * type 4 * - navigate button * - phone icon button * - no detail button * */ import React from 'react'; import type { ImageSourcePropType, ImageStyle, StyleProp, TextStyle, ViewStyle } from 'react-native'; import type { Distance } from '../../../libs/types-location'; import type { Address, Hour } from '../types/Store'; export interface SerializableLocationItemProps { format: string; locationName: string; hourFormat?: string; buttonTitle?: string; distanceFormat?: string; phone: string; storeImageStyle?: ImageStyle; style?: ViewStyle; titleStyle?: TextStyle; textStyle?: TextStyle; linkStyle?: ViewStyle; linkTitleStyle?: TextStyle; buttonStyle?: ViewStyle; buttonTitleStyle?: TextStyle; } export interface LocationItemProps extends Omit { address: Address; hours: Hour[]; onButtonPress?: () => void; navIcon?: ImageSourcePropType; onNavButtonPress?: () => void; distance?: Distance; phoneIcon?: ImageSourcePropType; onPhoneButtonPress?: () => void; storeImage?: ImageSourcePropType; storeImageStyle?: StyleProp; style?: StyleProp; titleStyle?: StyleProp; textStyle?: StyleProp; linkStyle?: StyleProp; linkTitleStyle?: StyleProp; buttonStyle?: StyleProp; buttonTitleStyle?: StyleProp; } export declare const LocationItem: React.FunctionComponent;