import * as React from 'react'; import { View, ViewStyle, StyleProp } from 'react-native'; import { IconSource } from '../Icon'; declare type Props = React.ComponentPropsWithRef & { /** * Icon to display for the `Avatar`. */ icon: IconSource; /** * Size of the avatar. */ size?: number; /** * Custom color for the icon. */ color?: string; style?: StyleProp; /** * @optional */ theme: ReactNativePaper.Theme; }; declare const _default: (React.ComponentClass & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }, any> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass & { ({ icon, size, style, theme, ...rest }: Props): JSX.Element; displayName: string; }) | (React.FunctionComponent & { ({ icon, size, style, theme, ...rest }: Props): JSX.Element; displayName: string; }), {}>) | (React.FunctionComponent & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass & { ({ icon, size, style, theme, ...rest }: Props): JSX.Element; displayName: string; }) | (React.FunctionComponent & { ({ icon, size, style, theme, ...rest }: Props): JSX.Element; displayName: string; }), {}>); export default _default;