import { ComponentProps, ExcludedProps, VariantProps } from "@vitality-ds/system"; import React from "react"; import { TooltipProps } from "../Tooltip/types"; import { BaseAvatarContainer } from "./styled"; export declare type BaseAvatarProps = VariantProps & ComponentProps & { /** * The initials of the user being represented. These are timmed to 2 characters. */ initials: string; /** * URL of the avatar image to load. */ imageSrc?: string; }; export declare type AvatarProps = ExcludedProps & BaseAvatarProps; export declare type AvatarButtonType = Omit & { /** * Props passed to the surrounding button element */ buttonProps: HTMLButtonElement; /** * Text to display in the AvatarButton's tooltip when hovered */ tooltipContent: TooltipProps["content"]; }; declare type AvatarLinkPropsType = { /** * Props passed to the link element. Takes all valid props. */ linkProps: React.HTMLProps; children: React.ReactNode; }; export declare type AvatarLinkType = AvatarProps & { /** * Props passed to the element. */ linkProps: AvatarLinkPropsType; }; export {};