import { type ReactNode } from 'react'; import { Image, Text, View, type ImageProps, type TextProps, type ViewProps } from 'react-native'; import { type IAvatarImageProps, type IAvatarProps } from '@cdx-ui/primitives'; import { type IconProps } from '../Icon'; import { type AvatarVariantProps } from './styles'; export interface AvatarProps extends ViewProps, IAvatarProps, AvatarVariantProps { className?: string; children?: ReactNode; } declare const AvatarRoot: import("react").ForwardRefExoticComponent>; export interface AvatarImageProps extends Omit, IAvatarImageProps { asChild?: boolean; className?: string; } declare const AvatarImage: import("react").ForwardRefExoticComponent>; export interface AvatarTextProps extends TextProps { asChild?: boolean; className?: string; children?: ReactNode; } declare const AvatarText: import("react").ForwardRefExoticComponent>; export interface AvatarIconProps extends Omit { asChild?: boolean; className?: string; } declare const AvatarIcon: { ({ asChild, className, style, ...props }: AvatarIconProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; /** * @deprecated Use the generic `Badge` component instead. * Wrap your `Avatar` in `` for equivalent behavior. */ export interface AvatarBadgeProps extends ViewProps { asChild?: boolean; className?: string; children?: ReactNode; } /** * @deprecated Use the generic `Badge` component instead. * Wrap your `Avatar` in `` for equivalent behavior. */ declare const AvatarBadge: import("react").ForwardRefExoticComponent>; type AvatarCompoundComponent = typeof AvatarRoot & { Image: typeof AvatarImage; Text: typeof AvatarText; Icon: typeof AvatarIcon; Badge: typeof AvatarBadge; }; export declare const Avatar: AvatarCompoundComponent; export type { AvatarVariantProps }; //# sourceMappingURL=index.d.ts.map