import { Avatar as BaseAvatar } from "@base-ui/react/avatar"; import * as React from "react"; /** * Props for the shared avatar root. */ interface AvatarProps extends Omit, "className"> { /** Additional CSS classes merged with the avatar root styles. @default undefined */ className?: string; } /** * Props for the shared avatar image. */ interface AvatarImageProps extends Omit, "className"> { /** Additional CSS classes merged with the avatar image styles. @default undefined */ className?: string; } /** * Props for the shared avatar fallback. */ interface AvatarFallbackProps extends Omit, "className"> { /** Additional CSS classes merged with the avatar fallback styles. @default undefined */ className?: string; } /** * Displays a user avatar container with shared sizing and shape styles. * * @remarks * - Renders a `` element by default * - Built on {@link https://base-ui.com/react/components/avatar | Base UI Avatar} * - Supports the `render` prop for element composition * - Styling via CSS Modules with `--ac-*` custom properties * * @example Basic usage * ```tsx * * * AO * * ``` * * @see {@link https://base-ui.com/react/components/avatar | Base UI Documentation} */ declare const Avatar: React.ForwardRefExoticComponent & React.RefAttributes>; /** * Renders the primary avatar image inside the avatar root. * * @remarks * - Renders an `` element by default * - Built on {@link https://base-ui.com/react/components/avatar | Base UI Avatar} * - Supports the `render` prop for element composition * - Styling via CSS Modules with `--ac-*` custom properties * * @example Basic usage * ```tsx * * ``` * * @see {@link https://base-ui.com/react/components/avatar | Base UI Documentation} */ declare const AvatarImage: React.ForwardRefExoticComponent & React.RefAttributes>; /** * Renders fallback content when the avatar image is unavailable. * * @remarks * - Renders a `` element by default * - Built on {@link https://base-ui.com/react/components/avatar | Base UI Avatar} * - Supports the `render` prop for element composition * - Styling via CSS Modules with `--ac-*` custom properties * * @example Basic usage * ```tsx * AO * ``` * * @see {@link https://base-ui.com/react/components/avatar | Base UI Documentation} */ declare const AvatarFallback: React.ForwardRefExoticComponent & React.RefAttributes>; declare namespace Avatar { type Props = AvatarProps; type State = BaseAvatar.Root.State; } declare namespace AvatarImage { type Props = AvatarImageProps; type State = BaseAvatar.Image.State; } declare namespace AvatarFallback { type Props = AvatarFallbackProps; type State = BaseAvatar.Fallback.State; } export { Avatar, AvatarFallback, AvatarImage }; //# sourceMappingURL=avatar.d.ts.map