///
import PropTypes from 'prop-types';
import { ViewStyle, TextStyle } from 'react-native';
import { LeftRightStyle, IMessage } from './types';
interface TimeProps {
position: 'left' | 'right';
currentMessage?: TMessage;
containerStyle?: LeftRightStyle;
textStyle?: LeftRightStyle;
timeFormat?: string;
}
export default function Time({ position, containerStyle, currentMessage, timeFormat, textStyle, }: TimeProps, context: any): JSX.Element | null;
export default namespace Time {
var contextTypes: {
getLocale: PropTypes.Requireable<(...args: any[]) => any>;
};
var defaultProps: {
position: string;
currentMessage: {
createdAt: null;
};
containerStyle: {};
textStyle: {};
timeFormat: string;
timeTextStyle: {};
};
var propTypes: {
position: PropTypes.Requireable;
currentMessage: PropTypes.Requireable