import { DeepPartial } from ".."; import type { ThemeColors, Positions, Sizes } from "../Flowbite/FlowbiteTheme"; import { Component, ComponentProps, ParentProps } from "solid-js"; export interface AvatarTheme { root: AvatarRootTheme; img: AvatarImageTheme; status: AvatarStatusTheme; initials: AvatarInitialsTheme; } export interface AvatarRootTheme { base: string; bordered: string; color: AvatarColors; rounded: string; size: AvatarSizes; stacked: string; statusPosition: Positions; } export interface AvatarImageTheme { off: string; on: string; placeholder: string; } export interface AvatarStatusTheme { away: string; base: string; busy: string; offline: string; online: string; } export interface AvatarInitialsTheme { base: string; text: string; } export interface AvatarColors extends Pick { [key: string]: string; } export interface AvatarSizes extends Pick { [key: string]: string; } export interface AvatarImageProps { alt?: string; className: string; "data-testid": string; } export interface AvatarProps extends ParentProps, "color">> { alt?: string; bordered?: boolean; img?: string | Component; color?: keyof AvatarColors; rounded?: boolean; size?: keyof AvatarSizes; stacked?: boolean; status?: "away" | "busy" | "offline" | "online"; statusPosition?: keyof Positions; placeholderInitials?: string; theme?: DeepPartial; } export declare const Avatar: Component & { Group: Component; Counter: Component; };