import React from 'react'; import { StyleProp, ViewStyle, TextStyle, ImageSourcePropType, ImageStyle } from 'react-native'; import { InlinePressableProps, RneFunctionComponent } from '../helpers'; import { IconObject } from '../Icon'; import { ImageProps } from '../Image'; export declare const avatarSizes: { small: number; medium: number; large: number; xlarge: number; }; declare type AvatarIcon = IconObject & { iconStyle?: StyleProp; }; export interface AvatarProps extends InlinePressableProps { Component?: typeof React.Component; onPress?(): void; onLongPress?(): void; containerStyle?: StyleProp; source?: ImageSourcePropType; avatarStyle?: ImageStyle; rounded?: boolean; title?: string; titleStyle?: StyleProp; overlayContainerStyle?: StyleProp; icon?: AvatarIcon; iconStyle?: StyleProp; size?: ('small' | 'medium' | 'large' | 'xlarge') | number; placeholderStyle?: StyleProp; renderPlaceholderContent?: React.ReactElement<{}>; imageProps?: Partial; ImageComponent?: React.ComponentClass; } export declare const Avatar: RneFunctionComponent; export {};