import { Avatar } from "../components/avatar.js"; import { ComponentProps } from "react"; //#region src/review/review-author-avatar.d.ts /** * Shown when an author has neither a name nor anything to fall back on. This * package carries no catalogs, so a localized host passes `fallbackLabel`; * the constant is exported so every surface that needs the same placeholder * outside an avatar reads it from here rather than minting its own. */ export declare const UNKNOWN_AUTHOR_LABEL = "Unknown user"; type ReviewAuthorAvatarProps = Omit, "children" | "className"> & { image?: string | null | undefined; name?: string | null; deleted?: boolean | undefined; fallbackLabel?: string; className?: string | undefined; fallbackClassName?: string | undefined; }; /** The author's face on any review surface: image when there is one, initials * otherwise, dimmed once the account is gone. */ export declare const ReviewAuthorAvatar: ({ deleted, image, name, fallbackLabel, className, fallbackClassName, ...avatarProps }: ReviewAuthorAvatarProps) => import("react").JSX.Element; //#endregion