import React from 'react'; import { StyleProp, ViewStyle, TextStyle, ImageSourcePropType, ImageStyle } from 'react-native'; import { RneFunctionComponent } from '../helpers'; import { IconObject } from '../icons/Icon'; import { ImageProps } from '../image/Image'; interface AvatarIcon extends IconObject { iconStyle?: StyleProp; } export declare type AvatarProps = { Component?: typeof React.Component; onPress?(): void; onLongPress?(): void; containerStyle?: StyleProp; source?: ImageSourcePropType; avatarStyle?: ImageStyle; rounded?: boolean; title?: string; titleStyle?: StyleProp; overlayContainerStyle?: StyleProp; activeOpacity?: number; icon?: AvatarIcon; iconStyle?: StyleProp; size?: ('small' | 'medium' | 'large' | 'xlarge') | number; placeholderStyle?: StyleProp; renderPlaceholderContent?: React.ReactElement<{}>; imageProps?: Partial; ImageComponent?: React.ComponentClass; }; interface Avatar extends RneFunctionComponent { } declare const Avatar: React.NamedExoticComponent>>; export { Avatar }; declare const ThemedAvatar: (React.FunctionComponent>, keyof import("../config").ThemeProps>> | React.ForwardRefExoticComponent>>) & { Accessory: React.FunctionComponent & Partial & { underlayColor?: import("react-native").ColorValue; style?: StyleProp; } & Partial>, keyof import("../config").ThemeProps>> | React.ForwardRefExoticComponent & Partial & { underlayColor?: import("react-native").ColorValue; style?: StyleProp; } & Partial>>; }; export default ThemedAvatar;