import React from 'react'; import { ViewProps } from 'react-native'; import { IconString } from '../display/icon'; import { ImageProps } from '../display/image'; type AvatarComponents = { Root: React.FC; Image: React.FC; ImageFallback: React.FC; Presence: React.FC; Group: React.FC; GroupLoader: React.FC>; Mask: React.FC; }; declare const _default: AvatarComponents; export default _default; export type { AvatarImageProps, AvatarImageFallbackProps, AvatarPresenceProps, AvatarGroupProps, AvatarMaskProps, AvatarRootProps, AvatarSize, }; declare const AVATAR_SIZES: { readonly xs: "xs"; readonly sm: "sm"; readonly md: "md"; readonly lg: "lg"; readonly xl: "xl"; readonly '2xl': "2xl"; }; declare const AVATAR_PRESENCE_TYPES: { readonly online: "online"; readonly offline: "offline"; }; type AvatarSize = (typeof AVATAR_SIZES)[keyof typeof AVATAR_SIZES]; type AvatarPresenceType = (typeof AVATAR_PRESENCE_TYPES)[keyof typeof AVATAR_PRESENCE_TYPES]; interface AvatarRootProps { children: React.ReactNode; size?: AvatarSize; style?: ViewProps['style']; maxFontSizeMultiplier?: number; minFontSizeMultiplier?: number; } type AvatarMaskProps = ViewProps; interface AvatarImageProps extends Omit { sourceUri: string; } interface AvatarImageFallbackProps { name?: IconString; } interface AvatarGroupProps { sourceUris: string[]; } interface AvatarPresenceProps extends ViewProps { presence: AvatarPresenceType; } //# sourceMappingURL=avatar_primitive.d.ts.map