import React from 'react'; import { DefaultProps, MantineNumberSize, MantineColor, Selectors, MantineGradient, Variants } from '@asuikit/styles'; import { AvatarGroup } from './AvatarGroup/AvatarGroup'; import useStyles, { AvatarStylesParams } from './Avatar.styles'; export type AvatarStylesNames = Selectors; export interface AvatarProps extends DefaultProps { /** Image url */ src?: string | null; /** Image alt text or title for placeholder variant */ alt?: string; /** Avatar width and height */ size?: MantineNumberSize; /** Key of theme.radius or any valid CSS value to set border-radius, "xl" by default */ radius?: MantineNumberSize; /** Key of theme.colors */ color?: MantineColor; /** Controls appearance */ variant?: Variants<'filled' | 'light' | 'gradient' | 'outline'>; /** Gradient input, only used when variant="gradient", theme.defaultGradient by default */ gradient?: MantineGradient; /** element attributes */ imageProps?: Record; /** Custom placeholder */ children?: React.ReactNode; } export declare const _Avatar: any; export declare const Avatar: ((props: import("@asuikit/utils").PolymorphicComponentProps) => React.ReactElement>) & Omit, "component" | keyof AvatarProps> & { ref?: any; }) | (AvatarProps & { component: React.ElementType; })>, never> & { Group: typeof AvatarGroup; }; //# sourceMappingURL=Avatar.d.ts.map